Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.005561/0.005561, allocations: 103.9 kB / 15.73 MB, free: 5.992 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.001524/0.001524, allocations: 197.1 kB / 16.67 MB, free: 5.914 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7801/0.7801, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.11 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, allocations: 80.91 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00693/0.1667, allocations: 4.161 MB / 0.6682 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5244/0.6911, allocations: 150.5 MB / 0.8152 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.6921, allocations: 16.31 kB / 0.8152 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.6928, allocations: 161.9 kB / 0.8153 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.6944, allocations: 472.9 kB / 0.8158 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.6963, allocations: 0.7975 MB / 0.8166 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.6975, allocations: 1.201 MB / 0.8177 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008287/0.6983, allocations: 0.6791 MB / 0.8184 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.6989, allocations: 460.4 kB / 0.8188 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.6993, allocations: 487.8 kB / 0.8193 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.6995, allocations: 116.1 kB / 0.8194 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007947/0.7003, allocations: 477.3 kB / 0.8199 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.7005, allocations: 294.4 kB / 0.8202 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.7009, allocations: 0.5246 MB / 0.8207 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.7025, allocations: 1.574 MB / 0.8222 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7025, allocations: 0 / 0.8222 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7025, allocations: 1.781 kB / 0.8222 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.7026, allocations: 0 / 0.8222 GB, free: 5.617 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00209/0.7046, allocations: 1.384 MB / 0.8236 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7047, allocations: 14.52 kB / 0.8236 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.7049, allocations: 142.5 kB / 0.8237 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7059, allocations: 204.8 kB / 0.8239 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.707, allocations: 0.7451 MB / 0.8246 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.7071, allocations: 69.06 kB / 0.8247 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.7072, allocations: 86.03 kB / 0.8248 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.7087, allocations: 0.9492 MB / 0.8257 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.7087, allocations: 0 / 0.8257 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.7088, allocations: 41.34 kB / 0.8257 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.7088, allocations: 19.97 kB / 0.8258 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.7105, allocations: 1.126 MB / 0.8269 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.7142, allocations: 2.443 MB / 0.8292 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.7165, allocations: 0.8817 MB / 0.8301 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/0.7171, allocations: 283 kB / 0.8304 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-05/0.7172, allocations: 35.2 kB / 0.8304 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008596/0.718, allocations: 441.3 kB / 0.8308 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.7181, allocations: 0 / 0.8308 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002935/0.721, allocations: 1.091 MB / 0.8319 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.7211, allocations: 192.4 kB / 0.8321 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.7218, allocations: 0.5979 MB / 0.8327 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.7219, allocations: 42.58 kB / 0.8327 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.7222, allocations: 402.2 kB / 0.8331 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.7224, allocations: 240.9 kB / 0.8333 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.7226, allocations: 135.7 kB / 0.8334 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003356/0.723, allocations: 383.6 kB / 0.8338 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.7235, allocations: 220.3 kB / 0.834 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.7241, allocations: 329 kB / 0.8343 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7251, allocations: 0.5338 MB / 0.8349 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7251, allocations: 3.938 kB / 0.8349 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001734/0.7269, allocations: 0.7303 MB / 0.8356 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7269, allocations: 7.531 kB / 0.8356 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.7269, allocations: 3.984 kB / 0.8356 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.7275, allocations: 79.59 kB / 0.8357 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.7281, allocations: 141.3 kB / 0.8358 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.7303, allocations: 1.628 MB / 0.8374 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.7309, allocations: 84.48 kB / 0.8375 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.731, allocations: 27.64 kB / 0.8375 GB, free: 10.71 MB / 0.6075 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 (76): * Single equations (assignments): 75 * 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.0004207/0.7314, allocations: 260.5 kB / 0.8377 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.7316, allocations: 76.12 kB / 0.8378 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.7338, allocations: 0.9922 MB / 0.8388 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.7339, allocations: 11.27 kB / 0.8388 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.7339, allocations: 2.812 kB / 0.8388 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.7339, allocations: 7.922 kB / 0.8388 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.7372, allocations: 1.904 MB / 0.8407 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.7372, allocations: 0 / 0.8407 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.7377, allocations: 142.4 kB / 0.8408 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.7382, allocations: 82.39 kB / 0.8409 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.7383, allocations: 23.48 kB / 0.8409 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.7402, allocations: 1.662 MB / 0.8425 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7402, allocations: 0 / 0.8425 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.742, allocations: 0.924 MB / 0.8434 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.7424, allocations: 261.6 kB / 0.8437 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.7425, allocations: 17.06 kB / 0.8437 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/0.7431, allocations: 53.25 kB / 0.8437 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.7432, allocations: 58.55 kB / 0.8438 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.7433, allocations: 32.52 kB / 0.8438 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005156/0.7438, allocations: 441.2 kB / 0.8442 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7438, allocations: 4 kB / 0.8443 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008339/0.7447, allocations: 296.2 kB / 0.8445 GB, free: 5.73 MB / 0.6075 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 (85): * Single equations (assignments): 82 * 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.003556/0.7483, allocations: 1.963 MB / 0.8465 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.7499, allocations: 0.7403 MB / 0.8472 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7499, allocations: 0 / 0.8472 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008921/0.7508, allocations: 496.5 kB / 0.8476 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.7521, allocations: 296.5 kB / 0.8479 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.7636, allocations: 6.048 MB / 0.8538 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.7643, allocations: 1.015 MB / 0.8548 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009115/0.7652, allocations: 262.2 kB / 0.8551 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/0.7658, allocations: 375.3 kB / 0.8554 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of SimCode: time 1.202e-06/0.7658, allocations: 0 / 0.8554 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05431/0.8201, allocations: 20.78 MB / 0.8757 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.17, allocations: 10.44 kB / 0.8757 GB, free: 6.293 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)