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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.105/1.105, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7525/0.7525, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 58.97 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1352, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004514/0.1397, allocations: 4.139 MB / 0.5885 GB, free: 296 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.302/0.4417, allocations: 150.5 MB / 0.7355 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.4423, allocations: 20.22 kB / 0.7355 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.4427, allocations: 162.9 kB / 0.7356 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.444, allocations: 483.8 kB / 0.7361 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.4456, allocations: 0.7945 MB / 0.7369 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.4467, allocations: 1.182 MB / 0.738 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000782/0.4475, allocations: 0.6813 MB / 0.7387 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.448, allocations: 453.1 kB / 0.7391 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.4485, allocations: 490 kB / 0.7396 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.4487, allocations: 113.8 kB / 0.7397 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.4493, allocations: 454 kB / 0.7401 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.4496, allocations: 290.1 kB / 0.7404 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.45, allocations: 0.5314 MB / 0.7409 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.4514, allocations: 1.528 MB / 0.7424 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4514, allocations: 0 / 0.7424 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4514, allocations: 5.375 kB / 0.7424 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.4514, allocations: 0 / 0.7424 GB, free: 8.27 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001974/0.4534, allocations: 1.384 MB / 0.7438 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.4534, allocations: 9.5 kB / 0.7438 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.4536, allocations: 138 kB / 0.7439 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.4545, allocations: 209.7 kB / 0.7441 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.4553, allocations: 0.7224 MB / 0.7448 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.4554, allocations: 65.5 kB / 0.7449 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.12e-05/0.4555, allocations: 85.75 kB / 0.745 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.4567, allocations: 0.9447 MB / 0.7459 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4567, allocations: 0 / 0.7459 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.4568, allocations: 38.97 kB / 0.7459 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4568, allocations: 24.31 kB / 0.746 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.4582, allocations: 1.127 MB / 0.7471 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.4611, allocations: 2.483 MB / 0.7495 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.4629, allocations: 0.8792 MB / 0.7503 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004368/0.4634, allocations: 286.7 kB / 0.7506 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.4635, allocations: 32.62 kB / 0.7506 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.4641, allocations: 440.4 kB / 0.7511 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.562e-06/0.4641, allocations: 0 / 0.7511 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002426/0.4666, allocations: 1.092 MB / 0.7521 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.4667, allocations: 196.6 kB / 0.7523 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.4672, allocations: 0.6017 MB / 0.7529 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.4673, allocations: 41.7 kB / 0.753 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.4675, allocations: 400.2 kB / 0.7533 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4677, allocations: 244.5 kB / 0.7536 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.4678, allocations: 134.2 kB / 0.7537 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.468, allocations: 382.7 kB / 0.7541 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.4684, allocations: 225.2 kB / 0.7543 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.4688, allocations: 322.8 kB / 0.7546 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.4697, allocations: 0.5394 MB / 0.7551 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4697, allocations: 0 / 0.7551 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001484/0.4712, allocations: 0.7314 MB / 0.7558 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.4712, allocations: 4 kB / 0.7558 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4713, allocations: 4 kB / 0.7558 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.4718, allocations: 80.86 kB / 0.7559 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.4723, allocations: 135.8 kB / 0.756 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.4739, allocations: 1.639 MB / 0.7576 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.4744, allocations: 84.2 kB / 0.7577 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.4744, allocations: 28.05 kB / 0.7577 GB, free: 10.75 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 (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.0002678/0.4747, allocations: 249.7 kB / 0.758 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4748, allocations: 84.31 kB / 0.7581 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.4768, allocations: 0.9919 MB / 0.759 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4768, allocations: 8 kB / 0.759 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.4768, allocations: 4 kB / 0.759 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4768, allocations: 7.922 kB / 0.7591 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.4794, allocations: 1.905 MB / 0.7609 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4794, allocations: 0 / 0.7609 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.4799, allocations: 143.8 kB / 0.761 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003632/0.4803, allocations: 76.77 kB / 0.7611 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.4803, allocations: 27.98 kB / 0.7611 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.4818, allocations: 1.654 MB / 0.7628 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4818, allocations: 0 / 0.7628 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4834, allocations: 0.9297 MB / 0.7637 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.4836, allocations: 251.8 kB / 0.7639 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.4837, allocations: 21.12 kB / 0.7639 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.4842, allocations: 54.12 kB / 0.764 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4843, allocations: 64.91 kB / 0.764 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.4844, allocations: 31.98 kB / 0.7641 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004106/0.4848, allocations: 439 kB / 0.7645 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4848, allocations: 0 / 0.7645 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005932/0.4854, allocations: 299.1 kB / 0.7648 GB, free: 3.289 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 (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.00276/0.4882, allocations: 1.979 MB / 0.7667 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.4899, allocations: 0.9145 MB / 0.7676 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4899, allocations: 8 kB / 0.7676 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/0.4907, allocations: 496.7 kB / 0.7681 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.4917, allocations: 291.7 kB / 0.7684 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.5001, allocations: 6.249 MB / 0.7745 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.5006, allocations: 1.016 MB / 0.7755 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006492/0.5012, allocations: 266.1 kB / 0.7757 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.5017, allocations: 379.2 kB / 0.7761 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5017, allocations: 0 / 0.7761 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.72/4.222, allocations: 20.16 MB / 0.7958 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/16.12, allocations: 15.89 kB / 0.7958 GB, free: 3.969 MB / 0.6075 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)