Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.0007986/0.0007987, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009676/0.0009677, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7113/0.7113, allocations: 132.3 MB / 423.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 8 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.386, allocations: 81.57 MB / 0.5831 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005228/0.3912, allocations: 4.244 MB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1521/0.5433, allocations: 137 MB / 0.7211 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5445, allocations: 15.94 kB / 0.7211 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.545, allocations: 150.8 kB / 0.7212 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.5465, allocations: 470 kB / 0.7217 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.5484, allocations: 0.6917 MB / 0.7223 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.5499, allocations: 1.342 MB / 0.7237 GB, free: 324 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.5511, allocations: 0.9267 MB / 0.7246 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.5517, allocations: 429.7 kB / 0.725 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.5522, allocations: 449.3 kB / 0.7254 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.1e-05/0.5523, allocations: 28 kB / 0.7254 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007592/0.5531, allocations: 347.6 kB / 0.7258 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.5533, allocations: 226.9 kB / 0.726 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.5536, allocations: 272.9 kB / 0.7262 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.5552, allocations: 1.687 MB / 0.7279 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5552, allocations: 0 / 0.7279 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5552, allocations: 0 / 0.7279 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.5552, allocations: 0 / 0.7279 GB, free: 11.94 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002602/0.5578, allocations: 1.502 MB / 0.7294 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5579, allocations: 12.03 kB / 0.7294 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002608/0.5581, allocations: 223.4 kB / 0.7296 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.559, allocations: 253.8 kB / 0.7298 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5603, allocations: 0.8643 MB / 0.7307 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.5604, allocations: 136.6 kB / 0.7308 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.5606, allocations: 144 kB / 0.7309 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.5629, allocations: 1.461 MB / 0.7324 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.563, allocations: 0 / 0.7324 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5631, allocations: 63.95 kB / 0.7324 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.5631, allocations: 40 kB / 0.7325 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.5655, allocations: 1.486 MB / 0.7339 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006077/0.5716, allocations: 3.976 MB / 0.7378 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.573, allocations: 0.9037 MB / 0.7387 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.5736, allocations: 363.7 kB / 0.739 GB, free: 284 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/0.5737, allocations: 41.97 kB / 0.7391 GB, free: 244 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009639/0.5747, allocations: 0.5553 MB / 0.7396 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 4.789e-06/0.5747, allocations: 0 / 0.7396 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003087/0.5778, allocations: 1.387 MB / 0.741 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5779, allocations: 188.9 kB / 0.7411 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.5789, allocations: 0.759 MB / 0.7419 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.579, allocations: 45.64 kB / 0.7419 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.5795, allocations: 0.5775 MB / 0.7425 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.5798, allocations: 315.5 kB / 0.7428 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.5799, allocations: 12 kB / 0.7428 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.58, allocations: 334 kB / 0.7431 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.5806, allocations: 313.8 kB / 0.7434 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.5813, allocations: 431.4 kB / 0.7438 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.5819, allocations: 370.8 kB / 0.7442 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.582, allocations: 3.938 kB / 0.7442 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001983/0.5839, allocations: 0.9853 MB / 0.7451 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.584, allocations: 4 kB / 0.7452 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.584, allocations: 0 / 0.7452 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.5845, allocations: 88.83 kB / 0.7452 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.5853, allocations: 187.8 kB / 0.7454 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.5874, allocations: 1.542 MB / 0.7469 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.588, allocations: 99.12 kB / 0.747 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.849e-05/0.5881, allocations: 39.97 kB / 0.7471 GB, free: 7.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0005606/0.5887, allocations: 325.4 kB / 0.7474 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5888, allocations: 98.78 kB / 0.7475 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.5916, allocations: 1.309 MB / 0.7487 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.5916, allocations: 12 kB / 0.7487 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5916, allocations: 0 / 0.7487 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.5917, allocations: 7.938 kB / 0.7488 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.5954, allocations: 2.502 MB / 0.7512 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.5954, allocations: 0 / 0.7512 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.596, allocations: 183.8 kB / 0.7514 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.5965, allocations: 80.78 kB / 0.7514 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.5966, allocations: 31.98 kB / 0.7515 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.5982, allocations: 1.571 MB / 0.753 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5982, allocations: 3.938 kB / 0.753 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.6003, allocations: 1.105 MB / 0.7541 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/0.6009, allocations: 347.3 kB / 0.7544 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.601, allocations: 24 kB / 0.7545 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.6017, allocations: 75.94 kB / 0.7545 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6019, allocations: 80.84 kB / 0.7546 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/0.602, allocations: 39.97 kB / 0.7546 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008154/0.6028, allocations: 0.5498 MB / 0.7552 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6028, allocations: 0 / 0.7552 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001056/0.6039, allocations: 394.6 kB / 0.7556 GB, free: 14.78 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 (107): * Single equations (assignments): 104 * 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.00358/0.6075, allocations: 2.161 MB / 0.7577 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.6092, allocations: 0.929 MB / 0.7586 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6092, allocations: 0 / 0.7586 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.6102, allocations: 0.5782 MB / 0.7591 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.6115, allocations: 275.2 kB / 0.7594 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.6223, allocations: 6.491 MB / 0.7657 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.623, allocations: 1.165 MB / 0.7669 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000896/0.6239, allocations: 287.9 kB / 0.7671 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.6246, allocations: 0.5461 MB / 0.7677 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.6246, allocations: 4 kB / 0.7677 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.6672, allocations: 25.55 MB / 0.7926 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.6674, allocations: 275.6 kB / 0.7929 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.014, allocations: 0 / 0.7929 GB, free: 8.828 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) Environment - environmentSimulation: