Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001205/0.001204, allocations: 172.5 kB / 7.646 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.8361/0.8361, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.559/1.559, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.000947/0.0009468, allocations: 102.2 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.38e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4749, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/5.03, allocations: 1.693 GB / 2.327 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/5.031, allocations: 87.95 kB / 2.327 GB, free: 80.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1312/5.162, allocations: 62.61 MB / 2.388 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/5.162, allocations: 0 / 2.388 GB, free: 17.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.308e-05/5.162, allocations: 23.94 kB / 2.388 GB, free: 17.22 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001778/5.164, allocations: 1.062 MB / 2.389 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/5.164, allocations: 8.031 kB / 2.389 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008508/5.165, allocations: 190.6 kB / 2.389 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/5.165, allocations: 0.5998 MB / 2.39 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/5.166, allocations: 28 kB / 2.39 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-05/5.166, allocations: 44 kB / 2.39 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001297/5.167, allocations: 0.9757 MB / 2.391 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/5.168, allocations: 0.7116 MB / 2.391 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/5.168, allocations: 4 kB / 2.391 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/5.168, allocations: 0 / 2.391 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/5.168, allocations: 23.95 kB / 2.392 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/5.171, allocations: 2.27 MB / 2.394 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/5.172, allocations: 0.7287 MB / 2.394 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/5.173, allocations: 238.4 kB / 2.395 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/5.173, allocations: 28.59 kB / 2.395 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005788/5.173, allocations: 384.7 kB / 2.395 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/5.173, allocations: 0 / 2.395 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001491/5.175, allocations: 0.6327 MB / 2.396 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/5.175, allocations: 243.9 kB / 2.396 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/5.175, allocations: 0.4904 MB / 2.396 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/5.175, allocations: 29.7 kB / 2.396 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/5.176, allocations: 372.1 kB / 2.397 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/5.176, allocations: 220.6 kB / 2.397 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/5.176, allocations: 0 / 2.397 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/5.176, allocations: 374.8 kB / 2.397 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/5.176, allocations: 189.5 kB / 2.398 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/5.176, allocations: 283.5 kB / 2.398 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/5.177, allocations: 236.4 kB / 2.398 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.177, allocations: 0 / 2.398 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001257/5.178, allocations: 0.6252 MB / 2.399 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/5.178, allocations: 12.02 kB / 2.399 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/5.178, allocations: 3.984 kB / 2.399 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005626/5.179, allocations: 84.78 kB / 2.399 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/5.179, allocations: 127.8 kB / 2.399 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/5.181, allocations: 1.473 MB / 2.4 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/5.181, allocations: 63.59 kB / 2.4 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/5.181, allocations: 23.98 kB / 2.4 GB, free: 4.004 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 (72): * Single equations (assignments): 71 * 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.0001475/5.182, allocations: 112.9 kB / 2.4 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001223/5.183, allocations: 0.6395 MB / 2.401 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/5.183, allocations: 67.16 kB / 2.401 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/5.185, allocations: 0.8751 MB / 2.402 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/5.185, allocations: 8 kB / 2.402 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/5.185, allocations: 3.953 kB / 2.402 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/5.185, allocations: 3.984 kB / 2.402 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/5.187, allocations: 1.699 MB / 2.404 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/5.187, allocations: 4 kB / 2.404 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/5.188, allocations: 135.8 kB / 2.404 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/5.188, allocations: 80.78 kB / 2.404 GB, free: 308 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/5.188, allocations: 15.98 kB / 2.404 GB, free: 292 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5891/5.777, allocations: 1.488 MB / 2.405 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/5.777, allocations: 1.031 kB / 2.405 GB, free: 228.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/5.779, allocations: 0.8041 MB / 2.406 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/5.78, allocations: 279.4 kB / 2.406 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/5.78, allocations: 8.234 kB / 2.406 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/5.78, allocations: 52.17 kB / 2.406 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/5.781, allocations: 58.33 kB / 2.407 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/5.781, allocations: 35.16 kB / 2.407 GB, free: 228 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006214/5.781, allocations: 395.2 kB / 2.407 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/5.781, allocations: 0 / 2.407 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001334/5.783, allocations: 326.8 kB / 2.407 GB, free: 227.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 (81): * Single equations (assignments): 78 * 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.004057/5.787, allocations: 2.329 MB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001433/5.788, allocations: 0.6295 MB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.788, allocations: 1.281 kB / 2.41 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/5.789, allocations: 439.5 kB / 2.411 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/5.79, allocations: 211.7 kB / 2.411 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/5.795, allocations: 1.458 MB / 2.412 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/5.796, allocations: 1.012 MB / 2.413 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001131/5.797, allocations: 255.8 kB / 2.413 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/5.798, allocations: 339.6 kB / 2.414 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.153e-06/5.798, allocations: 0 / 2.414 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/5.861, allocations: 22.8 MB / 2.436 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001058/5.862, allocations: 181.2 kB / 2.436 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/8.757, allocations: 0 / 2.436 GB, free: 224.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)