Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.00126/0.00126, allocations: 173.9 kB / 7.648 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.8363/0.8363, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.744/1.744, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.001014/0.001014, allocations: 94.05 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.207e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5141, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.645/5.159, allocations: 1.693 GB / 2.327 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/5.16, allocations: 92.7 kB / 2.327 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1285/5.288, allocations: 58.4 MB / 2.384 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/5.288, allocations: 3.938 kB / 2.384 GB, free: 22.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001064/5.288, allocations: 23.94 kB / 2.384 GB, free: 22.33 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002412/5.291, allocations: 1.059 MB / 2.385 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/5.291, allocations: 12.03 kB / 2.385 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/5.292, allocations: 186.5 kB / 2.385 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/5.293, allocations: 0.6192 MB / 2.386 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/5.293, allocations: 24 kB / 2.386 GB, free: 20.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/5.293, allocations: 44 kB / 2.386 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001398/5.295, allocations: 0.9796 MB / 2.387 GB, free: 19.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/5.296, allocations: 0.7156 MB / 2.388 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/5.296, allocations: 3.938 kB / 2.388 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/5.296, allocations: 4 kB / 2.388 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/5.296, allocations: 23.95 kB / 2.388 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/5.3, allocations: 2.243 MB / 2.39 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/5.301, allocations: 0.7178 MB / 2.39 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/5.301, allocations: 242.6 kB / 2.391 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.351e-05/5.301, allocations: 20.53 kB / 2.391 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/5.302, allocations: 399.5 kB / 2.391 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.657e-06/5.302, allocations: 0 / 2.391 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.001504/5.303, allocations: 0.6456 MB / 2.392 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/5.304, allocations: 244.1 kB / 2.392 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/5.304, allocations: 498.3 kB / 2.392 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/5.304, allocations: 29.7 kB / 2.392 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/5.305, allocations: 376.1 kB / 2.393 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/5.305, allocations: 236.5 kB / 2.393 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/5.305, allocations: 0 / 2.393 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/5.305, allocations: 374.8 kB / 2.393 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/5.305, allocations: 189.5 kB / 2.394 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/5.305, allocations: 283.5 kB / 2.394 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/5.306, allocations: 228.5 kB / 2.394 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/5.306, allocations: 4 kB / 2.394 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0013/5.307, allocations: 0.6407 MB / 2.395 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/5.307, allocations: 8 kB / 2.395 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/5.307, allocations: 4.062 kB / 2.395 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/5.308, allocations: 80.78 kB / 2.395 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/5.308, allocations: 143.8 kB / 2.395 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/5.31, allocations: 1.438 MB / 2.396 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/5.31, allocations: 71.48 kB / 2.396 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/5.311, allocations: 23.98 kB / 2.396 GB, free: 9.094 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 (74): * Single equations (assignments): 73 * 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.0001609/5.311, allocations: 112.9 kB / 2.396 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001325/5.312, allocations: 0.6446 MB / 2.397 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/5.312, allocations: 71.16 kB / 2.397 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/5.314, allocations: 0.9106 MB / 2.398 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/5.314, allocations: 15.95 kB / 2.398 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/5.314, allocations: 0 / 2.398 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/5.314, allocations: 3.984 kB / 2.398 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/5.317, allocations: 1.695 MB / 2.4 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.317, allocations: 3.984 kB / 2.4 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/5.317, allocations: 143.8 kB / 2.4 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/5.318, allocations: 80.78 kB / 2.4 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/5.318, allocations: 15.98 kB / 2.4 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/5.319, allocations: 1.489 MB / 2.401 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/5.319, allocations: 0 / 2.401 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/5.32, allocations: 0.822 MB / 2.402 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/5.321, allocations: 275.8 kB / 2.403 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/5.321, allocations: 4 kB / 2.403 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/5.321, allocations: 51.89 kB / 2.403 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/5.322, allocations: 64.69 kB / 2.403 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/5.322, allocations: 35.94 kB / 2.403 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004279/5.322, allocations: 398.9 kB / 2.403 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/5.322, allocations: 0 / 2.403 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001125/5.323, allocations: 331 kB / 2.403 GB, free: 1.711 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 (86): * Single equations (assignments): 83 * 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.5578/5.881, allocations: 2.335 MB / 2.406 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001867/5.883, allocations: 0.6371 MB / 2.406 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/5.883, allocations: 1.438 kB / 2.406 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008922/5.884, allocations: 443.1 kB / 2.407 GB, free: 229 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/5.885, allocations: 220.6 kB / 2.407 GB, free: 229 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/5.89, allocations: 1.466 MB / 2.408 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/5.891, allocations: 1.018 MB / 2.409 GB, free: 228 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001093/5.892, allocations: 251.5 kB / 2.41 GB, free: 228 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005494/5.893, allocations: 348.5 kB / 2.41 GB, free: 228 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/5.893, allocations: 0 / 2.41 GB, free: 228 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06424/5.957, allocations: 22.96 MB / 2.432 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/5.957, allocations: 195.8 kB / 2.433 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/8.81, allocations: 0 / 2.433 GB, free: 226.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)