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.005028/0.005028, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001204/0.001204, allocations: 195.2 kB / 16.68 MB, free: 5.957 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7958/0.7958, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 62.03 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1568, allocations: 80.93 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006275/0.1631, allocations: 4.072 MB / 0.6681 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5519/0.715, allocations: 150.5 MB / 0.815 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007239/0.7158, allocations: 14.66 kB / 0.815 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.7164, allocations: 164.9 kB / 0.8152 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.7178, allocations: 477.4 kB / 0.8157 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.7198, allocations: 0.7923 MB / 0.8164 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.7208, allocations: 1.174 MB / 0.8176 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008098/0.7217, allocations: 0.6246 MB / 0.8182 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.7222, allocations: 425.8 kB / 0.8186 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.7227, allocations: 439 kB / 0.819 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.7228, allocations: 104.2 kB / 0.8191 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.7236, allocations: 484.5 kB / 0.8196 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.7238, allocations: 270.4 kB / 0.8198 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003586/0.7242, allocations: 0.4919 MB / 0.8203 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.7258, allocations: 1.484 MB / 0.8218 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7258, allocations: 0 / 0.8218 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7258, allocations: 3.984 kB / 0.8218 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.7258, allocations: 0 / 0.8218 GB, free: 5.926 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002024/0.7278, allocations: 1.312 MB / 0.823 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7279, allocations: 11.42 kB / 0.8231 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.728, allocations: 131 kB / 0.8232 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008169/0.7289, allocations: 169.8 kB / 0.8233 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.73, allocations: 0.7396 MB / 0.8241 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.73, allocations: 56.22 kB / 0.8241 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.7301, allocations: 73.97 kB / 0.8242 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.7314, allocations: 0.8551 MB / 0.825 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.7315, allocations: 3.938 kB / 0.825 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.7315, allocations: 33.56 kB / 0.8251 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.7316, allocations: 21.53 kB / 0.8251 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.7331, allocations: 1.064 MB / 0.8261 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.7364, allocations: 2.351 MB / 0.8284 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7376, allocations: 0.7897 MB / 0.8292 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.738, allocations: 281.2 kB / 0.8295 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.896e-05/0.7381, allocations: 29.47 kB / 0.8295 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006698/0.7388, allocations: 418.4 kB / 0.8299 GB, free: 240 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.944e-06/0.7388, allocations: 0 / 0.8299 GB, free: 240 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002791/0.7416, allocations: 1.063 MB / 0.8309 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7417, allocations: 188.4 kB / 0.8311 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.7423, allocations: 0.5898 MB / 0.8317 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.7424, allocations: 38.42 kB / 0.8317 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.7427, allocations: 373.3 kB / 0.8321 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.7428, allocations: 236 kB / 0.8323 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.743, allocations: 129.2 kB / 0.8324 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7432, allocations: 384.7 kB / 0.8328 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.7436, allocations: 206.8 kB / 0.833 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.7441, allocations: 323.7 kB / 0.8333 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008933/0.745, allocations: 0.5216 MB / 0.8338 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.745, allocations: 0 / 0.8338 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001578/0.7466, allocations: 0.7148 MB / 0.8345 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7466, allocations: 10.69 kB / 0.8345 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7466, allocations: 0 / 0.8345 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.7472, allocations: 89.7 kB / 0.8346 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.7477, allocations: 125.8 kB / 0.8347 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.7499, allocations: 1.65 MB / 0.8363 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.7505, allocations: 70.14 kB / 0.8364 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/0.7505, allocations: 27.11 kB / 0.8364 GB, free: 11.34 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 (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.0003767/0.7509, allocations: 252.9 kB / 0.8367 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.7511, allocations: 76.94 kB / 0.8367 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.7531, allocations: 0.9653 MB / 0.8377 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.7531, allocations: 6.844 kB / 0.8377 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.7531, allocations: 0 / 0.8377 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.7531, allocations: 6.891 kB / 0.8377 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.7561, allocations: 1.834 MB / 0.8395 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7561, allocations: 2.094 kB / 0.8395 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.7566, allocations: 139.1 kB / 0.8396 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.757, allocations: 82.12 kB / 0.8397 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.7571, allocations: 15.66 kB / 0.8397 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.7591, allocations: 1.666 MB / 0.8413 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7591, allocations: 0 / 0.8413 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.7608, allocations: 0.899 MB / 0.8422 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.7612, allocations: 254.6 kB / 0.8425 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/0.7613, allocations: 20.81 kB / 0.8425 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.7618, allocations: 57.16 kB / 0.8425 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.762, allocations: 56.42 kB / 0.8426 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.762, allocations: 28.2 kB / 0.8426 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004758/0.7625, allocations: 430.1 kB / 0.843 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7625, allocations: 0 / 0.843 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007672/0.7633, allocations: 276.3 kB / 0.8433 GB, free: 6.43 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 (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.00325/0.7665, allocations: 1.961 MB / 0.8452 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.768, allocations: 0.7154 MB / 0.8459 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.768, allocations: 0 / 0.8459 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.7689, allocations: 480.3 kB / 0.8464 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.7701, allocations: 287.8 kB / 0.8466 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.7802, allocations: 5.807 MB / 0.8523 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.7808, allocations: 0.9914 MB / 0.8533 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007878/0.7816, allocations: 242 kB / 0.8535 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/0.7821, allocations: 351.3 kB / 0.8538 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.7821, allocations: 0 / 0.8538 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/0.8313, allocations: 20.01 MB / 0.8734 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.31, allocations: 12.06 kB / 0.8734 GB, free: 8.617 MB / 0.6387 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)