Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001259/0.00126, 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.001216/0.001216, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8215/0.8215, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 63.77 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005116/0.1346, allocations: 4.057 MB / 0.5884 GB, free: 396 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3649/0.4995, allocations: 150.5 MB / 0.7354 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.5001, allocations: 19.47 kB / 0.7354 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.5005, allocations: 167.5 kB / 0.7355 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.5017, allocations: 469.1 kB / 0.736 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.5032, allocations: 0.787 MB / 0.7368 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008891/0.5041, allocations: 1.163 MB / 0.7379 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.5048, allocations: 0.6151 MB / 0.7385 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.5053, allocations: 419.4 kB / 0.7389 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.5057, allocations: 444.6 kB / 0.7393 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.5058, allocations: 104.4 kB / 0.7394 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.5064, allocations: 456.1 kB / 0.7398 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.5066, allocations: 271.2 kB / 0.7401 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.507, allocations: 496.8 kB / 0.7406 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.5082, allocations: 1.456 MB / 0.742 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.5082, allocations: 0 / 0.742 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.22e-07/0.5082, allocations: 0 / 0.742 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.5082, allocations: 0 / 0.742 GB, free: 8.574 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001688/0.5099, allocations: 1.32 MB / 0.7433 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.371e-05/0.5099, allocations: 10.25 kB / 0.7433 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.51, allocations: 125.7 kB / 0.7434 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007981/0.5108, allocations: 178.2 kB / 0.7436 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.5116, allocations: 0.7056 MB / 0.7443 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.5117, allocations: 57.53 kB / 0.7443 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.5118, allocations: 76.41 kB / 0.7444 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.513, allocations: 0.8572 MB / 0.7452 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.513, allocations: 0 / 0.7452 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.5131, allocations: 35.69 kB / 0.7453 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5131, allocations: 22.69 kB / 0.7453 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.5145, allocations: 1.059 MB / 0.7463 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.5174, allocations: 2.382 MB / 0.7487 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.5186, allocations: 0.7968 MB / 0.7494 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.519, allocations: 275.3 kB / 0.7497 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.5191, allocations: 30.69 kB / 0.7497 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006847/0.5198, allocations: 422.4 kB / 0.7501 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.964e-06/0.5198, allocations: 0 / 0.7501 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002619/0.5224, allocations: 1.07 MB / 0.7512 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.5225, allocations: 196.5 kB / 0.7514 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.5231, allocations: 0.5744 MB / 0.7519 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.5231, allocations: 41.7 kB / 0.752 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.5234, allocations: 380.2 kB / 0.7523 GB, free: 500 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.5235, allocations: 232.5 kB / 0.7525 GB, free: 264 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.5237, allocations: 130.2 kB / 0.7527 GB, free: 128 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5238, allocations: 382.8 kB / 0.753 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.5242, allocations: 205.2 kB / 0.7532 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.5247, allocations: 330.7 kB / 0.7536 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.5256, allocations: 0.5195 MB / 0.7541 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5256, allocations: 0 / 0.7541 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001515/0.5271, allocations: 0.7119 MB / 0.7548 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5271, allocations: 6.656 kB / 0.7548 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5272, allocations: 3.984 kB / 0.7548 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.5277, allocations: 84.86 kB / 0.7548 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.5282, allocations: 131.8 kB / 0.755 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.53, allocations: 1.643 MB / 0.7566 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.5305, allocations: 69.97 kB / 0.7566 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.5306, allocations: 32.05 kB / 0.7567 GB, free: 11.84 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 (73): * Single equations (assignments): 72 * 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.0002723/0.5309, allocations: 249.7 kB / 0.7569 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.531, allocations: 79.19 kB / 0.757 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.533, allocations: 0.9675 MB / 0.7579 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.533, allocations: 8 kB / 0.7579 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.533, allocations: 7.938 kB / 0.7579 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.533, allocations: 3.984 kB / 0.7579 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.5356, allocations: 1.836 MB / 0.7597 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5356, allocations: 0 / 0.7597 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.5361, allocations: 131.9 kB / 0.7599 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004007/0.5365, allocations: 80.66 kB / 0.7599 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.5366, allocations: 23.98 kB / 0.76 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.5382, allocations: 1.662 MB / 0.7616 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5382, allocations: 64 / 0.7616 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.5398, allocations: 0.9062 MB / 0.7625 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.5401, allocations: 251.9 kB / 0.7627 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.5402, allocations: 20.78 kB / 0.7627 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.5407, allocations: 52.64 kB / 0.7628 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5409, allocations: 60.86 kB / 0.7628 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.5409, allocations: 27.98 kB / 0.7629 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004318/0.5414, allocations: 435 kB / 0.7633 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5414, allocations: 0 / 0.7633 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006846/0.5421, allocations: 275.4 kB / 0.7635 GB, free: 4.539 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 (81): * Single equations (assignments): 78 * 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.002836/0.5449, allocations: 1.93 MB / 0.7654 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.5467, allocations: 0.8952 MB / 0.7663 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5467, allocations: 0 / 0.7663 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.5475, allocations: 492.5 kB / 0.7668 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5486, allocations: 280.3 kB / 0.767 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008701/0.5573, allocations: 5.994 MB / 0.7729 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.5577, allocations: 0.9881 MB / 0.7739 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006711/0.5584, allocations: 261.8 kB / 0.7741 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.5588, allocations: 343.3 kB / 0.7744 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.5588, allocations: 0 / 0.7744 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.545/3.104, allocations: 19.44 MB / 0.7934 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.48/24.58, allocations: 14.73 kB / 0.7934 GB, free: 6.301 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)