Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_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.005698/0.005698, allocations: 104 kB / 15.73 MB, free: 6.043 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.00139/0.00139, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 65.69 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1304, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006187/0.1367, allocations: 4.043 MB / 0.6631 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4579/0.5946, allocations: 150.4 MB / 0.81 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007067/0.5954, allocations: 21.56 kB / 0.8101 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.5959, allocations: 166.9 kB / 0.8102 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.5971, allocations: 474.5 kB / 0.8107 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.5986, allocations: 0.7898 MB / 0.8114 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008567/0.5994, allocations: 1.164 MB / 0.8126 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.6001, allocations: 0.5866 MB / 0.8131 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.6006, allocations: 421.5 kB / 0.8136 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.601, allocations: 434.8 kB / 0.814 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.6012, allocations: 100.7 kB / 0.8141 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007039/0.6019, allocations: 472.9 kB / 0.8145 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.6021, allocations: 266.4 kB / 0.8148 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.6024, allocations: 486.5 kB / 0.8152 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.6038, allocations: 1.46 MB / 0.8167 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6038, allocations: 0.5625 kB / 0.8167 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6038, allocations: 0 / 0.8167 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.6038, allocations: 0 / 0.8167 GB, free: 9.867 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.001801/0.6056, allocations: 1.313 MB / 0.8179 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6057, allocations: 9.875 kB / 0.8179 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.6058, allocations: 125.8 kB / 0.8181 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.6066, allocations: 171.1 kB / 0.8182 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.6076, allocations: 0.7208 MB / 0.8189 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.6076, allocations: 57.72 kB / 0.819 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.6077, allocations: 77.31 kB / 0.8191 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.6089, allocations: 0.8411 MB / 0.8199 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.609, allocations: 3.984 kB / 0.8199 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.609, allocations: 31.62 kB / 0.8199 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.6091, allocations: 18.97 kB / 0.8199 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.6105, allocations: 1.049 MB / 0.821 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.6136, allocations: 2.301 MB / 0.8232 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.6147, allocations: 0.7743 MB / 0.824 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.6151, allocations: 270.5 kB / 0.8242 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/0.6152, allocations: 29.17 kB / 0.8243 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006335/0.6159, allocations: 415 kB / 0.8246 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.094e-06/0.6159, allocations: 0 / 0.8246 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002667/0.6185, allocations: 1.053 MB / 0.8257 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.6187, allocations: 191.8 kB / 0.8259 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.6193, allocations: 0.5813 MB / 0.8264 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.6194, allocations: 38.77 kB / 0.8265 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.6196, allocations: 367.2 kB / 0.8268 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.6198, allocations: 232.6 kB / 0.827 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.62, allocations: 126.9 kB / 0.8272 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6201, allocations: 380.7 kB / 0.8275 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.6205, allocations: 206.4 kB / 0.8277 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.621, allocations: 315.9 kB / 0.828 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008669/0.6219, allocations: 0.511 MB / 0.8285 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6219, allocations: 0 / 0.8285 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001532/0.6234, allocations: 0.7012 MB / 0.8292 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6235, allocations: 9.188 kB / 0.8292 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6235, allocations: 0 / 0.8292 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.624, allocations: 81.59 kB / 0.8293 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.6245, allocations: 134.8 kB / 0.8294 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.6265, allocations: 1.631 MB / 0.831 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.627, allocations: 83.92 kB / 0.8311 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.6271, allocations: 25.06 kB / 0.8311 GB, free: 15.86 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.0003432/0.6274, allocations: 241.1 kB / 0.8313 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6276, allocations: 80.44 kB / 0.8314 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.6295, allocations: 0.9521 MB / 0.8323 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.6296, allocations: 9.75 kB / 0.8324 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6296, allocations: 7.984 kB / 0.8324 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.6296, allocations: 3.984 kB / 0.8324 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.6323, allocations: 1.794 MB / 0.8341 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6323, allocations: 0 / 0.8341 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.6328, allocations: 141.1 kB / 0.8343 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.6332, allocations: 75.06 kB / 0.8343 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.6333, allocations: 27.61 kB / 0.8344 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.6351, allocations: 1.645 MB / 0.836 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6351, allocations: 0 / 0.836 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.6367, allocations: 0.8877 MB / 0.8368 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.637, allocations: 249.9 kB / 0.8371 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.6371, allocations: 17.88 kB / 0.8371 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.6376, allocations: 58.92 kB / 0.8371 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6378, allocations: 60.16 kB / 0.8372 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.6378, allocations: 32.52 kB / 0.8372 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004829/0.6383, allocations: 423.1 kB / 0.8376 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6383, allocations: 0 / 0.8376 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007017/0.639, allocations: 275.2 kB / 0.8379 GB, free: 11.04 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.00292/0.642, allocations: 1.93 MB / 0.8398 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.6433, allocations: 0.7044 MB / 0.8405 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6433, allocations: 0 / 0.8405 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.644, allocations: 479.9 kB / 0.8409 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6451, allocations: 296.8 kB / 0.8412 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009547/0.6546, allocations: 5.749 MB / 0.8468 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.6552, allocations: 0.9913 MB / 0.8478 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007155/0.656, allocations: 246 kB / 0.848 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.6565, allocations: 347.3 kB / 0.8484 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of SimCode: time 6.72e-07/0.6565, allocations: 0 / 0.8484 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.7056, allocations: 19.47 MB / 0.8674 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.41, allocations: 3.938 kB / 0.8674 GB, free: 15.07 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)