Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.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/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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_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.0006139/0.0006139, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003805/0.003805, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.206/1.206, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6908/0.6908, allocations: 132.3 MB / 423.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 9.812 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3394, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003916/0.3434, allocations: 4.092 MB / 0.5877 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1479/0.4913, allocations: 146.7 MB / 0.731 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007647/0.4921, allocations: 19.88 kB / 0.731 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.4927, allocations: 150.8 kB / 0.7312 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.4942, allocations: 408.4 kB / 0.7315 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.4959, allocations: 0.7229 MB / 0.7322 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4972, allocations: 1.222 MB / 0.7334 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.4984, allocations: 0.8689 MB / 0.7343 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.4989, allocations: 350 kB / 0.7346 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.4995, allocations: 389.5 kB / 0.735 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.4996, allocations: 27.98 kB / 0.735 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.5002, allocations: 363.6 kB / 0.7354 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.5004, allocations: 206.9 kB / 0.7356 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.5008, allocations: 0.4905 MB / 0.736 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.5022, allocations: 1.674 MB / 0.7377 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5022, allocations: 0 / 0.7377 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5022, allocations: 0 / 0.7377 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.5022, allocations: 0 / 0.7377 GB, free: 2.227 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00192/0.5041, allocations: 1.335 MB / 0.739 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5042, allocations: 8.031 kB / 0.739 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.5044, allocations: 177.5 kB / 0.7392 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.5052, allocations: 223.1 kB / 0.7394 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.5062, allocations: 0.8129 MB / 0.7402 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.5063, allocations: 90.28 kB / 0.7403 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.5064, allocations: 108 kB / 0.7404 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.5082, allocations: 1.142 MB / 0.7415 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5082, allocations: 7.938 kB / 0.7415 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/0.5083, allocations: 44 kB / 0.7415 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.5083, allocations: 28 kB / 0.7415 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.5102, allocations: 1.242 MB / 0.7428 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.5142, allocations: 3.055 MB / 0.7457 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.5155, allocations: 0.7803 MB / 0.7465 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.516, allocations: 298.7 kB / 0.7468 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/0.516, allocations: 28.69 kB / 0.7468 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/0.5168, allocations: 467.1 kB / 0.7473 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.224e-06/0.5168, allocations: 0 / 0.7473 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002766/0.5196, allocations: 1.151 MB / 0.7484 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.5197, allocations: 192.6 kB / 0.7486 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/0.5205, allocations: 0.6842 MB / 0.7492 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.5205, allocations: 41.7 kB / 0.7493 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.5209, allocations: 0.4957 MB / 0.7498 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.5211, allocations: 260.2 kB / 0.75 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.5212, allocations: 61.69 kB / 0.7501 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5213, allocations: 337.9 kB / 0.7504 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.5217, allocations: 241.9 kB / 0.7506 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.5223, allocations: 354.5 kB / 0.751 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.5233, allocations: 0.5838 MB / 0.7515 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5233, allocations: 3.938 kB / 0.7515 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001667/0.525, allocations: 0.7903 MB / 0.7523 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.525, allocations: 8 kB / 0.7523 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.525, allocations: 0 / 0.7523 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.5256, allocations: 92.7 kB / 0.7524 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.5262, allocations: 147.8 kB / 0.7525 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.5281, allocations: 1.52 MB / 0.754 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.5286, allocations: 95.22 kB / 0.7541 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.5287, allocations: 27.98 kB / 0.7541 GB, free: 0.7812 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 (84): * Single equations (assignments): 83 * 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.0003578/0.5291, allocations: 276.5 kB / 0.7544 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5292, allocations: 95.12 kB / 0.7545 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.5314, allocations: 1.043 MB / 0.7555 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5314, allocations: 8 kB / 0.7555 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5314, allocations: 112 / 0.7555 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.5314, allocations: 7.922 kB / 0.7555 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.5324, allocations: 0.9931 MB / 0.7565 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5324, allocations: 0 / 0.7565 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.533, allocations: 151.8 kB / 0.7566 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/0.5335, allocations: 80.78 kB / 0.7567 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.5335, allocations: 23.98 kB / 0.7567 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.5352, allocations: 1.544 MB / 0.7583 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5352, allocations: 4.031 kB / 0.7583 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.5369, allocations: 0.9044 MB / 0.7591 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.5373, allocations: 283.6 kB / 0.7594 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.5374, allocations: 23.94 kB / 0.7594 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/0.5379, allocations: 63.95 kB / 0.7595 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5381, allocations: 60.91 kB / 0.7596 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.5381, allocations: 35.98 kB / 0.7596 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005567/0.5387, allocations: 499 kB / 0.7601 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5387, allocations: 0 / 0.7601 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007168/0.5394, allocations: 338.8 kB / 0.7604 GB, free: 10.13 MB / 0.5919 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 (89): * Single equations (assignments): 86 * 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.003096/0.5425, allocations: 1.928 MB / 0.7623 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.5439, allocations: 0.7845 MB / 0.763 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5439, allocations: 0 / 0.763 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.5448, allocations: 0.508 MB / 0.7635 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5459, allocations: 282.4 kB / 0.7638 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.5578, allocations: 7.522 MB / 0.7711 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.5584, allocations: 1.078 MB / 0.7722 GB, free: 14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007895/0.5592, allocations: 262.8 kB / 0.7724 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.5598, allocations: 459.2 kB / 0.7729 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.5598, allocations: 4 kB / 0.7729 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3224/0.8822, allocations: 20.58 MB / 0.793 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.8825, allocations: 287.1 kB / 0.7933 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.078, allocations: 0 / 0.7933 GB, free: 8.742 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)