Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.008584/0.008584, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001915/0.001915, allocations: 190.1 kB / 16.67 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7694/0.7694, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 58.44 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1561, allocations: 80.94 MB / 0.6642 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005715/0.1619, allocations: 4.102 MB / 0.6682 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4918/0.6536, allocations: 150.5 MB / 0.8151 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.6544, allocations: 18.53 kB / 0.8151 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.6552, allocations: 166.1 kB / 0.8153 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.6574, allocations: 468.5 kB / 0.8157 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.6597, allocations: 0.797 MB / 0.8165 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.6617, allocations: 1.165 MB / 0.8176 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.6632, allocations: 0.607 MB / 0.8182 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.6645, allocations: 431.6 kB / 0.8186 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6655, allocations: 432 kB / 0.819 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000305/0.6658, allocations: 102.6 kB / 0.8191 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.6671, allocations: 469.4 kB / 0.8196 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.6676, allocations: 274.5 kB / 0.8199 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.6682, allocations: 497.6 kB / 0.8203 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.6702, allocations: 1.469 MB / 0.8218 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.6702, allocations: 0 / 0.8218 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6703, allocations: 0 / 0.8218 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.6703, allocations: 0 / 0.8218 GB, free: 6.008 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.002429/0.6727, allocations: 1.324 MB / 0.8231 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.6728, allocations: 11.23 kB / 0.8231 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.6729, allocations: 126.3 kB / 0.8232 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008786/0.6738, allocations: 178.2 kB / 0.8234 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.6751, allocations: 0.7281 MB / 0.8241 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.6751, allocations: 60.38 kB / 0.8241 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.6752, allocations: 74.22 kB / 0.8242 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6766, allocations: 0.8471 MB / 0.825 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6766, allocations: 3.984 kB / 0.825 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.6767, allocations: 31.16 kB / 0.8251 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6767, allocations: 18.25 kB / 0.8251 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.6782, allocations: 1.054 MB / 0.8261 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.6816, allocations: 2.316 MB / 0.8284 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.6827, allocations: 0.7072 MB / 0.8291 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.6831, allocations: 271.3 kB / 0.8293 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/0.6832, allocations: 33.2 kB / 0.8293 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.6839, allocations: 415.5 kB / 0.8297 GB, free: 472 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=71): time 2.074e-06/0.6839, allocations: 4 kB / 0.8297 GB, free: 468 kB / 0.5919 GB Notification: Performance of matching and sorting (n=71): time 0.002793/0.6867, allocations: 1.061 MB / 0.8308 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.6868, allocations: 196.4 kB / 0.831 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.6875, allocations: 0.5829 MB / 0.8315 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.6876, allocations: 40.58 kB / 0.8316 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.6879, allocations: 381.4 kB / 0.8319 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.6881, allocations: 234.7 kB / 0.8322 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.6883, allocations: 125.7 kB / 0.8323 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6885, allocations: 377.9 kB / 0.8326 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.6889, allocations: 212.7 kB / 0.8328 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.6894, allocations: 316.6 kB / 0.8331 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.6903, allocations: 0.5235 MB / 0.8337 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6903, allocations: 0 / 0.8337 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001614/0.6919, allocations: 0.7204 MB / 0.8344 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.6919, allocations: 5.125 kB / 0.8344 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6919, allocations: 2.75 kB / 0.8344 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.6926, allocations: 86.52 kB / 0.8345 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.6931, allocations: 132.4 kB / 0.8346 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.6951, allocations: 1.62 MB / 0.8362 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.6957, allocations: 82.44 kB / 0.8362 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.6957, allocations: 25.36 kB / 0.8363 GB, free: 11.6 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 (75): * Single equations (assignments): 74 * 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.6961, allocations: 248.8 kB / 0.8365 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6962, allocations: 78.19 kB / 0.8366 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.6983, allocations: 0.9637 MB / 0.8375 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.6983, allocations: 7.969 kB / 0.8375 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6983, allocations: 3.938 kB / 0.8375 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6984, allocations: 3.984 kB / 0.8375 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.6993, allocations: 0.8225 MB / 0.8383 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6993, allocations: 4 kB / 0.8383 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.6998, allocations: 137.2 kB / 0.8385 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.7003, allocations: 70.3 kB / 0.8385 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.7004, allocations: 23.89 kB / 0.8386 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.7022, allocations: 1.661 MB / 0.8402 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7022, allocations: 0 / 0.8402 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.7039, allocations: 0.8282 MB / 0.841 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.7042, allocations: 258.5 kB / 0.8412 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7044, allocations: 20.75 kB / 0.8413 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.7049, allocations: 49.14 kB / 0.8413 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.705, allocations: 63.25 kB / 0.8414 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.7051, allocations: 25.61 kB / 0.8414 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004988/0.7056, allocations: 432.3 kB / 0.8418 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7056, allocations: 4 kB / 0.8418 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000709/0.7063, allocations: 272.8 kB / 0.8421 GB, free: 7.371 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003115/0.7094, allocations: 1.877 MB / 0.8439 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.711, allocations: 0.713 MB / 0.8446 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.711, allocations: 0 / 0.8446 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.7118, allocations: 488.8 kB / 0.8451 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.713, allocations: 273.2 kB / 0.8453 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.7241, allocations: 5.739 MB / 0.8509 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.7248, allocations: 0.9954 MB / 0.8519 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008813/0.7257, allocations: 250.1 kB / 0.8521 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005573/0.7263, allocations: 347.3 kB / 0.8525 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of SimCode: time 9.52e-07/0.7263, allocations: 0 / 0.8525 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05316/0.7795, allocations: 20 MB / 0.872 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.03, allocations: 7.312 kB / 0.872 GB, free: 10.16 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)