Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.006473/0.006473, allocations: 102 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.001482/0.001482, allocations: 197.4 kB / 16.68 MB, free: 5.953 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7704/0.7704, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 80.12 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1582, allocations: 80.92 MB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005718/0.1639, allocations: 4.049 MB / 0.6681 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5289/0.6928, allocations: 150.4 MB / 0.815 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006672/0.6935, allocations: 15.09 kB / 0.815 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.694, allocations: 172.6 kB / 0.8152 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.6954, allocations: 474 kB / 0.8156 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.6972, allocations: 0.7799 MB / 0.8164 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.6984, allocations: 1.157 MB / 0.8175 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007506/0.6992, allocations: 0.6064 MB / 0.8181 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.6997, allocations: 428.3 kB / 0.8185 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.7001, allocations: 428.4 kB / 0.8189 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.7002, allocations: 99.97 kB / 0.819 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007076/0.7009, allocations: 476 kB / 0.8195 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.7011, allocations: 266.3 kB / 0.8197 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.7014, allocations: 485.6 kB / 0.8202 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.7028, allocations: 1.46 MB / 0.8216 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7028, allocations: 0 / 0.8216 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7028, allocations: 4 kB / 0.8216 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.7028, allocations: 0 / 0.8216 GB, free: 6.051 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00192/0.7048, allocations: 1.304 MB / 0.8229 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.7048, allocations: 9.984 kB / 0.8229 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.705, allocations: 125.4 kB / 0.823 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.7058, allocations: 175.2 kB / 0.8232 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.7068, allocations: 0.7268 MB / 0.8239 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.7069, allocations: 56.66 kB / 0.824 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.7069, allocations: 71.38 kB / 0.824 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.7082, allocations: 0.8426 MB / 0.8249 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.7082, allocations: 0 / 0.8249 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.7083, allocations: 34.53 kB / 0.8249 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.7083, allocations: 20.31 kB / 0.8249 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.7097, allocations: 1.045 MB / 0.8259 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.7128, allocations: 2.302 MB / 0.8282 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.714, allocations: 0.7737 MB / 0.8289 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.7144, allocations: 270.4 kB / 0.8292 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.7145, allocations: 33.48 kB / 0.8292 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006467/0.7152, allocations: 418.6 kB / 0.8296 GB, free: 464 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.094e-06/0.7152, allocations: 0 / 0.8296 GB, free: 464 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002676/0.7179, allocations: 1.055 MB / 0.8307 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.718, allocations: 187.4 kB / 0.8308 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.7186, allocations: 0.5838 MB / 0.8314 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.7186, allocations: 38.61 kB / 0.8314 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.7189, allocations: 366.9 kB / 0.8318 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.7191, allocations: 230.3 kB / 0.832 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.7193, allocations: 133.4 kB / 0.8321 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7194, allocations: 373.4 kB / 0.8325 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.7198, allocations: 207 kB / 0.8327 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.7203, allocations: 310 kB / 0.833 GB, free: 14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.7211, allocations: 0.5196 MB / 0.8335 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7211, allocations: 0 / 0.8335 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001523/0.7227, allocations: 0.7044 MB / 0.8342 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7227, allocations: 7.031 kB / 0.8342 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7227, allocations: 0 / 0.8342 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/0.7233, allocations: 80.03 kB / 0.8343 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.7238, allocations: 136.2 kB / 0.8344 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.7257, allocations: 1.625 MB / 0.836 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.7262, allocations: 79.5 kB / 0.8361 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.7263, allocations: 27.2 kB / 0.8361 GB, free: 11.62 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.0003404/0.7266, allocations: 249.8 kB / 0.8363 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7268, allocations: 70.38 kB / 0.8364 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.7288, allocations: 0.9563 MB / 0.8373 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.7289, allocations: 7.812 kB / 0.8373 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7289, allocations: 0 / 0.8373 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.7289, allocations: 3.984 kB / 0.8373 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.7322, allocations: 1.794 MB / 0.8391 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7322, allocations: 0 / 0.8391 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.7327, allocations: 137.6 kB / 0.8392 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.7332, allocations: 72.02 kB / 0.8393 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.7332, allocations: 27.17 kB / 0.8393 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.7352, allocations: 1.663 MB / 0.8409 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7352, allocations: 0 / 0.8409 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.7369, allocations: 0.8817 MB / 0.8418 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.7373, allocations: 257.2 kB / 0.842 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.7374, allocations: 16.84 kB / 0.8421 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.7379, allocations: 58.83 kB / 0.8421 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.7381, allocations: 64.16 kB / 0.8422 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.7381, allocations: 28.33 kB / 0.8422 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005167/0.7387, allocations: 423.1 kB / 0.8426 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7387, allocations: 0 / 0.8426 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000841/0.7395, allocations: 275.1 kB / 0.8429 GB, free: 6.762 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.003325/0.7429, allocations: 1.93 MB / 0.8448 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.7445, allocations: 0.7063 MB / 0.8454 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7445, allocations: 4.188 kB / 0.8454 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.7454, allocations: 476.3 kB / 0.8459 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.7466, allocations: 282.8 kB / 0.8462 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.7577, allocations: 5.74 MB / 0.8518 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/0.7586, allocations: 0.9914 MB / 0.8527 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008598/0.7595, allocations: 254 kB / 0.853 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.7601, allocations: 339.3 kB / 0.8533 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of SimCode: time 1.153e-06/0.7601, allocations: 0 / 0.8533 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.8131, allocations: 19.48 MB / 0.8723 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.43, allocations: 11.59 kB / 0.8723 GB, free: 9.727 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)