Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.765/0.765, allocations: 133.6 MB / 141.6 MB, free: 2.824 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 98.41 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.171e-05, allocations: 0 / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5813, allocations: 82.3 MB / 0.6339 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.513/5.095, allocations: 1.694 GB / 2.328 GB, free: 42.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/5.095, allocations: 86.52 kB / 2.328 GB, free: 42.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4832/5.578, allocations: 58.88 MB / 2.386 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/5.578, allocations: 4.812 kB / 2.386 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.762e-05/5.578, allocations: 26.33 kB / 2.386 GB, free: 233.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001798/5.58, allocations: 1.079 MB / 2.387 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/5.58, allocations: 9.344 kB / 2.387 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/5.581, allocations: 190.4 kB / 2.387 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/5.582, allocations: 0.6211 MB / 2.387 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/5.582, allocations: 30.45 kB / 2.387 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/5.582, allocations: 45.75 kB / 2.388 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/5.584, allocations: 1.013 MB / 2.389 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/5.585, allocations: 0.7395 MB / 2.389 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/5.585, allocations: 2.25 kB / 2.389 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/5.585, allocations: 3.938 kB / 2.389 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/5.585, allocations: 19.69 kB / 2.389 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/5.588, allocations: 2.372 MB / 2.392 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/5.589, allocations: 0.6606 MB / 2.392 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/5.589, allocations: 244.7 kB / 2.392 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/5.589, allocations: 44.69 kB / 2.393 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/5.59, allocations: 397.8 kB / 2.393 GB, free: 232 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/5.59, allocations: 0 / 2.393 GB, free: 232 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001436/5.591, allocations: 0.6733 MB / 2.394 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/5.591, allocations: 247.4 kB / 2.394 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/5.592, allocations: 0.5029 MB / 2.394 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/5.592, allocations: 25.7 kB / 2.394 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/5.592, allocations: 379.1 kB / 2.395 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/5.592, allocations: 245.8 kB / 2.395 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/5.592, allocations: 0 / 2.395 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/5.592, allocations: 375 kB / 2.395 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/5.593, allocations: 194.7 kB / 2.395 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/5.593, allocations: 305.3 kB / 2.396 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/5.593, allocations: 248.8 kB / 2.396 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.593, allocations: 0 / 2.396 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001361/5.595, allocations: 0.6771 MB / 2.397 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/5.595, allocations: 2.938 kB / 2.397 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/5.595, allocations: 4.969 kB / 2.397 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/5.595, allocations: 86.77 kB / 2.397 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/5.596, allocations: 152.8 kB / 2.397 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/5.598, allocations: 1.451 MB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005627/5.598, allocations: 63.23 kB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/5.598, allocations: 32.8 kB / 2.398 GB, free: 229.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/5.598, allocations: 115.6 kB / 2.398 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001328/5.6, allocations: 0.6762 MB / 2.399 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/5.6, allocations: 69 kB / 2.399 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/5.602, allocations: 0.9371 MB / 2.4 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/5.602, allocations: 9.5 kB / 2.4 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/5.602, allocations: 3.938 kB / 2.4 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/5.602, allocations: 11.08 kB / 2.4 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/5.604, allocations: 1.717 MB / 2.402 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/5.604, allocations: 3.281 kB / 2.402 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/5.605, allocations: 152.1 kB / 2.402 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/5.605, allocations: 80.5 kB / 2.402 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/5.605, allocations: 19.78 kB / 2.402 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/5.607, allocations: 1.478 MB / 2.404 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/5.607, allocations: 3.203 kB / 2.404 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/5.608, allocations: 0.8386 MB / 2.404 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/5.609, allocations: 283 kB / 2.405 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/5.609, allocations: 6.812 kB / 2.405 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/5.609, allocations: 51.33 kB / 2.405 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/5.61, allocations: 62.62 kB / 2.405 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/5.61, allocations: 29.31 kB / 2.405 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004881/5.61, allocations: 418 kB / 2.405 GB, free: 227 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.61, allocations: 0 / 2.405 GB, free: 227 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001025/5.611, allocations: 330.9 kB / 2.405 GB, free: 226.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003095/5.614, allocations: 2.354 MB / 2.408 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001132/5.615, allocations: 0.6644 MB / 2.408 GB, free: 226 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/5.615, allocations: 0 / 2.408 GB, free: 226 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006247/5.616, allocations: 460.5 kB / 2.409 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/5.617, allocations: 218.8 kB / 2.409 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/5.621, allocations: 1.499 MB / 2.411 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/5.622, allocations: 1.034 MB / 2.412 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008034/5.622, allocations: 251.7 kB / 2.412 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/5.623, allocations: 360.4 kB / 2.412 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/5.623, allocations: 0 / 2.412 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/5.67, allocations: 23.44 MB / 2.435 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/5.67, allocations: 204.1 kB / 2.435 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/8.365, allocations: 0 / 2.435 GB, free: 214.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)