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.0009856/0.0009856, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001119/0.001119, allocations: 177.3 kB / 15.94 MB, free: 228 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8109/0.8109, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 9.219 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5638, allocations: 81.57 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005748/0.5696, allocations: 4.154 MB / 0.587 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1677/0.7374, allocations: 127.7 MB / 0.7118 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.7383, allocations: 19.88 kB / 0.7118 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.7387, allocations: 79.2 kB / 0.7119 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.7403, allocations: 0.5401 MB / 0.7124 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.7421, allocations: 0.6956 MB / 0.7131 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.7434, allocations: 0.954 MB / 0.714 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.7444, allocations: 0.9228 MB / 0.7149 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.745, allocations: 441.9 kB / 0.7153 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.7455, allocations: 435.7 kB / 0.7157 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.7455, allocations: 28 kB / 0.7158 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.7462, allocations: 311.6 kB / 0.7161 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.7465, allocations: 223 kB / 0.7163 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.7467, allocations: 272.8 kB / 0.7165 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.7481, allocations: 1.687 MB / 0.7182 GB, free: 5.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7481, allocations: 3.938 kB / 0.7182 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7481, allocations: 0 / 0.7182 GB, free: 5.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.7481, allocations: 0 / 0.7182 GB, free: 5.746 MB / 0.545 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.002424/0.7505, allocations: 1.498 MB / 0.7197 GB, free: 4.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7506, allocations: 8.031 kB / 0.7197 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/0.7508, allocations: 219.5 kB / 0.7199 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009118/0.7518, allocations: 253.8 kB / 0.7201 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.753, allocations: 0.8719 MB / 0.721 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.7531, allocations: 144.7 kB / 0.7211 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.7533, allocations: 144 kB / 0.7212 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.7554, allocations: 1.449 MB / 0.7227 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.7555, allocations: 3.938 kB / 0.7227 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.7556, allocations: 64 kB / 0.7227 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.7556, allocations: 39.95 kB / 0.7228 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.7578, allocations: 1.49 MB / 0.7242 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005661/0.7635, allocations: 3.961 MB / 0.7281 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.765, allocations: 0.9075 MB / 0.729 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.7651, allocations: 49.06 kB / 0.729 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009327/0.766, allocations: 0.5485 MB / 0.7295 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.695e-06/0.766, allocations: 0 / 0.7295 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003098/0.7691, allocations: 1.381 MB / 0.7309 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.7692, allocations: 188.9 kB / 0.7311 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008695/0.7701, allocations: 0.759 MB / 0.7318 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/0.7702, allocations: 41.7 kB / 0.7319 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.7706, allocations: 0.5814 MB / 0.7324 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.7708, allocations: 311.5 kB / 0.7327 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.7709, allocations: 15.94 kB / 0.7327 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.771, allocations: 341.9 kB / 0.7331 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.7715, allocations: 305.8 kB / 0.7334 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.7722, allocations: 431.4 kB / 0.7338 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.7728, allocations: 370.9 kB / 0.7341 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.7728, allocations: 0 / 0.7341 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001977/0.7748, allocations: 0.9814 MB / 0.7351 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7748, allocations: 4 kB / 0.7351 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7748, allocations: 4 kB / 0.7351 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.7754, allocations: 84.83 kB / 0.7352 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.7762, allocations: 191.7 kB / 0.7353 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.7782, allocations: 1.547 MB / 0.7369 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/0.7789, allocations: 110.5 kB / 0.737 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.779, allocations: 35.97 kB / 0.737 GB, free: 1.926 MB / 0.5606 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.00056/0.7795, allocations: 321.9 kB / 0.7373 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.7797, allocations: 106.7 kB / 0.7374 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.7824, allocations: 1.305 MB / 0.7387 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7825, allocations: 16 kB / 0.7387 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7825, allocations: 0 / 0.7387 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.7825, allocations: 3.984 kB / 0.7387 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.7866, allocations: 2.505 MB / 0.7411 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.7866, allocations: 0 / 0.7411 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.7873, allocations: 179.8 kB / 0.7413 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.7879, allocations: 88.7 kB / 0.7414 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.7879, allocations: 23.98 kB / 0.7414 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.7897, allocations: 1.583 MB / 0.743 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7897, allocations: 0 / 0.743 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.7917, allocations: 1.121 MB / 0.7441 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.7922, allocations: 339.3 kB / 0.7444 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.7923, allocations: 20 kB / 0.7444 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.793, allocations: 75.94 kB / 0.7445 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.7932, allocations: 72.89 kB / 0.7446 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.7933, allocations: 43.91 kB / 0.7446 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006906/0.794, allocations: 0.5575 MB / 0.7451 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.794, allocations: 0 / 0.7451 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001029/0.795, allocations: 398.6 kB / 0.7455 GB, free: 8.938 MB / 0.5762 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.003424/0.7984, allocations: 2.151 MB / 0.7476 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.8002, allocations: 0.929 MB / 0.7485 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8002, allocations: 0 / 0.7485 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.8011, allocations: 0.5862 MB / 0.7491 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.8023, allocations: 258.4 kB / 0.7493 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.8082, allocations: 4.16 MB / 0.7534 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.8089, allocations: 1.196 MB / 0.7546 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008867/0.8098, allocations: 291.5 kB / 0.7549 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/0.8105, allocations: 0.55 MB / 0.7554 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.8105, allocations: 0 / 0.7554 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2354/1.046, allocations: 25.09 MB / 0.7799 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004236/1.046, allocations: 266.4 kB / 0.7802 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/4.424, allocations: 0 / 0.7802 GB, free: 5.863 MB / 0.6075 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: