Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.0009545/0.0009545, allocations: 97.64 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.007554/0.007554, allocations: 170.1 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8961/0.8961, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003562, allocations: 8.562 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005347/0.1577, allocations: 4.465 MB / 0.5924 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3852/0.543, allocations: 147 MB / 0.736 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.5441, allocations: 16.69 kB / 0.736 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008188/0.545, allocations: 149.8 kB / 0.7361 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.5473, allocations: 0.4913 MB / 0.7366 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.5497, allocations: 0.782 MB / 0.7374 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002269/0.552, allocations: 1.474 MB / 0.7388 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.5536, allocations: 0.991 MB / 0.7398 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.5547, allocations: 466.4 kB / 0.7402 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.5558, allocations: 0.4975 MB / 0.7407 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.556, allocations: 29.16 kB / 0.7407 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.5572, allocations: 374 kB / 0.7411 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.5575, allocations: 238.4 kB / 0.7413 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.558, allocations: 0.5935 MB / 0.7419 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.5599, allocations: 1.978 MB / 0.7438 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5599, allocations: 0 / 0.7438 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.56, allocations: 0 / 0.7438 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.56, allocations: 0 / 0.7438 GB, free: 9.523 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002631/0.5626, allocations: 1.471 MB / 0.7453 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5627, allocations: 13.56 kB / 0.7453 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.5629, allocations: 212.7 kB / 0.7455 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.5639, allocations: 245.3 kB / 0.7457 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.5651, allocations: 0.8809 MB / 0.7466 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.5652, allocations: 108 kB / 0.7467 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.5654, allocations: 140.2 kB / 0.7468 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.5676, allocations: 1.428 MB / 0.7482 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5677, allocations: 6.656 kB / 0.7482 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.5678, allocations: 65.44 kB / 0.7483 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.5678, allocations: 33.62 kB / 0.7483 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.5701, allocations: 1.521 MB / 0.7498 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005503/0.5756, allocations: 3.804 MB / 0.7535 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5771, allocations: 0.9686 MB / 0.7545 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.5778, allocations: 403.7 kB / 0.7549 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.5779, allocations: 45 kB / 0.7549 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/0.5788, allocations: 0.5826 MB / 0.7555 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.324e-06/0.5789, allocations: 0 / 0.7555 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003401/0.5823, allocations: 1.489 MB / 0.7569 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.5824, allocations: 200.9 kB / 0.7571 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/0.5833, allocations: 0.7592 MB / 0.7578 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.5833, allocations: 49.64 kB / 0.7579 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.5837, allocations: 0.5542 MB / 0.7584 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.584, allocations: 346.9 kB / 0.7588 GB, free: 13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.5841, allocations: 81.67 kB / 0.7588 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5842, allocations: 341.9 kB / 0.7592 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.5849, allocations: 341.8 kB / 0.7595 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/0.5856, allocations: 466.5 kB / 0.7599 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.5869, allocations: 0.8273 MB / 0.7608 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.587, allocations: 0 / 0.7608 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002104/0.5891, allocations: 1.067 MB / 0.7618 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5891, allocations: 4 kB / 0.7618 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5891, allocations: 3.938 kB / 0.7618 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.5897, allocations: 88.83 kB / 0.7619 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/0.5906, allocations: 211.7 kB / 0.7621 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.5924, allocations: 1.535 MB / 0.7636 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.5932, allocations: 126.9 kB / 0.7637 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.5933, allocations: 43.97 kB / 0.7638 GB, free: 7.699 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 (117): * Single equations (assignments): 116 * 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.0004829/0.5938, allocations: 309.5 kB / 0.764 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.5939, allocations: 102.8 kB / 0.7641 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.5968, allocations: 1.396 MB / 0.7655 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.5969, allocations: 12 kB / 0.7655 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5969, allocations: 0 / 0.7655 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.5969, allocations: 7.922 kB / 0.7655 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.6007, allocations: 2.576 MB / 0.768 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6007, allocations: 0 / 0.768 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.6015, allocations: 191.8 kB / 0.7682 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.602, allocations: 84.78 kB / 0.7683 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.602, allocations: 31.97 kB / 0.7683 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.6037, allocations: 1.569 MB / 0.7699 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6037, allocations: 7.938 kB / 0.7699 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.6058, allocations: 1.171 MB / 0.771 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.6063, allocations: 355.2 kB / 0.7714 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.6064, allocations: 20 kB / 0.7714 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/0.6071, allocations: 78.5 kB / 0.7715 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6073, allocations: 76.83 kB / 0.7715 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.6074, allocations: 43.97 kB / 0.7716 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006942/0.6081, allocations: 0.5732 MB / 0.7721 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6081, allocations: 0 / 0.7721 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009886/0.6091, allocations: 398.6 kB / 0.7725 GB, free: 14.48 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 (115): * Single equations (assignments): 112 * 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.00348/0.6126, allocations: 2.237 MB / 0.7747 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.6144, allocations: 1.001 MB / 0.7757 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6144, allocations: 4.062 kB / 0.7757 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000977/0.6154, allocations: 0.6173 MB / 0.7763 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6167, allocations: 294.7 kB / 0.7766 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.6314, allocations: 9.219 MB / 0.7856 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.6322, allocations: 1.163 MB / 0.7867 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008961/0.6331, allocations: 292.4 kB / 0.787 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/0.6338, allocations: 0.5421 MB / 0.7875 GB, free: 15 MB / 0.6075 GB Notification: Performance of SimCode: time 6.22e-07/0.6338, allocations: 0 / 0.7875 GB, free: 15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2134/0.8471, allocations: 24.64 MB / 0.8116 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/0.8476, allocations: 291 kB / 0.8118 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.593, allocations: 7.234 kB / 0.8119 GB, free: 6.312 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)