Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004783/0.004783, allocations: 171.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.704/0.704, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 9.75 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3291, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.0038/0.333, allocations: 3.729 MB / 0.5874 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1355/0.4685, allocations: 146.5 MB / 0.7305 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005868/0.4691, allocations: 15.88 kB / 0.7305 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.4696, allocations: 135 kB / 0.7306 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.4708, allocations: 393.2 kB / 0.731 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.4722, allocations: 0.7025 MB / 0.7317 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.4733, allocations: 1.106 MB / 0.7328 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.4741, allocations: 0.5745 MB / 0.7333 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.4745, allocations: 306.5 kB / 0.7336 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.4749, allocations: 326.1 kB / 0.7339 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.475, allocations: 24 kB / 0.734 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006099/0.4756, allocations: 371.6 kB / 0.7343 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.4758, allocations: 167.2 kB / 0.7345 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.4761, allocations: 415.1 kB / 0.7349 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.4774, allocations: 1.355 MB / 0.7362 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4774, allocations: 0 / 0.7362 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4774, allocations: 0 / 0.7362 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.48e-05/0.4774, allocations: 0 / 0.7362 GB, free: 3.789 MB / 0.5606 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.001839/0.4793, allocations: 1.128 MB / 0.7373 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4793, allocations: 12.03 kB / 0.7373 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.4795, allocations: 131.1 kB / 0.7374 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.4803, allocations: 195.5 kB / 0.7376 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008769/0.4812, allocations: 0.6992 MB / 0.7383 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.4813, allocations: 62 kB / 0.7384 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.4814, allocations: 76 kB / 0.7384 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.4827, allocations: 0.8715 MB / 0.7393 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4827, allocations: 0 / 0.7393 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.4828, allocations: 32 kB / 0.7393 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.4828, allocations: 23.94 kB / 0.7393 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.4844, allocations: 1.073 MB / 0.7404 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.4877, allocations: 2.403 MB / 0.7427 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.4889, allocations: 0.8084 MB / 0.7435 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.4893, allocations: 274.4 kB / 0.7438 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/0.4894, allocations: 32.59 kB / 0.7438 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006849/0.4901, allocations: 443 kB / 0.7442 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=72): time 1.723e-06/0.4901, allocations: 0 / 0.7442 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.002594/0.4927, allocations: 1.081 MB / 0.7453 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.4928, allocations: 188.6 kB / 0.7455 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.4934, allocations: 0.5899 MB / 0.7461 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.4935, allocations: 41.69 kB / 0.7461 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.4937, allocations: 372.4 kB / 0.7465 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.4939, allocations: 240.5 kB / 0.7467 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.494, allocations: 49.7 kB / 0.7467 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4941, allocations: 378.8 kB / 0.7471 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.4945, allocations: 217.2 kB / 0.7473 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.495, allocations: 326.7 kB / 0.7476 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/0.4959, allocations: 0.5354 MB / 0.7481 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4959, allocations: 0 / 0.7481 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001545/0.4975, allocations: 0.7275 MB / 0.7488 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4975, allocations: 4 kB / 0.7488 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4975, allocations: 8.094 kB / 0.7489 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.4981, allocations: 80.77 kB / 0.7489 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.4987, allocations: 139.9 kB / 0.7491 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.5004, allocations: 1.526 MB / 0.7506 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.5009, allocations: 87.39 kB / 0.7506 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.501, allocations: 23.98 kB / 0.7507 GB, free: 4.426 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002988/0.5013, allocations: 249.7 kB / 0.7509 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5014, allocations: 75.06 kB / 0.751 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.5035, allocations: 1.018 MB / 0.752 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.5035, allocations: 8 kB / 0.752 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5035, allocations: 0 / 0.752 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5035, allocations: 7.969 kB / 0.752 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.5063, allocations: 1.862 MB / 0.7538 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5063, allocations: 0 / 0.7538 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.5068, allocations: 151.8 kB / 0.7539 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.5073, allocations: 88.66 kB / 0.754 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.5074, allocations: 23.98 kB / 0.7541 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.509, allocations: 1.551 MB / 0.7556 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.509, allocations: 0 / 0.7556 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.5107, allocations: 0.9259 MB / 0.7565 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.5109, allocations: 267.9 kB / 0.7567 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.511, allocations: 23.97 kB / 0.7567 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.5116, allocations: 67.95 kB / 0.7568 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5117, allocations: 64.84 kB / 0.7569 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.5118, allocations: 27.98 kB / 0.7569 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004686/0.5123, allocations: 431 kB / 0.7573 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5123, allocations: 0 / 0.7573 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006425/0.5129, allocations: 287.3 kB / 0.7576 GB, free: 13.08 MB / 0.5919 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002963/0.5159, allocations: 1.963 MB / 0.7595 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.5172, allocations: 0.7278 MB / 0.7602 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5172, allocations: 4.188 kB / 0.7602 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.518, allocations: 496.3 kB / 0.7607 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.5191, allocations: 263.4 kB / 0.7609 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.5292, allocations: 6.492 MB / 0.7673 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.5297, allocations: 1 MB / 0.7683 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006636/0.5303, allocations: 250.1 kB / 0.7685 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.5308, allocations: 351.3 kB / 0.7688 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5308, allocations: 0 / 0.7688 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5823/1.113, allocations: 18.73 MB / 0.7871 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.113, allocations: 289.3 kB / 0.7874 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.565, allocations: 0 / 0.7874 GB, free: 14.9 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)