Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.0009186/0.0009186, allocations: 96.58 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 175.6 kB / 16.57 MB, free: 6.387 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.305/1.305, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6712/0.6712, allocations: 113.7 MB / 405.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004435/0.1427, allocations: 3.632 MB / 0.5603 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3858/0.5285, allocations: 127.5 MB / 0.6848 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.5291, allocations: 15.88 kB / 0.6848 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.5294, allocations: 75.28 kB / 0.6849 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.5309, allocations: 497 kB / 0.6854 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.5329, allocations: 0.619 MB / 0.686 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.5344, allocations: 0.8065 MB / 0.6868 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008689/0.5353, allocations: 467.8 kB / 0.6872 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.5359, allocations: 334.6 kB / 0.6875 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000552/0.5365, allocations: 330.3 kB / 0.6878 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.5366, allocations: 24 kB / 0.6879 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008821/0.5375, allocations: 311.6 kB / 0.6882 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.5377, allocations: 179.2 kB / 0.6883 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.538, allocations: 189.1 kB / 0.6885 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.5396, allocations: 1.154 MB / 0.6896 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5396, allocations: 0 / 0.6896 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5396, allocations: 0 / 0.6896 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5396, allocations: 0 / 0.6896 GB, free: 1.848 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002902/0.5425, allocations: 1.22 MB / 0.6908 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5426, allocations: 8.031 kB / 0.6908 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.5428, allocations: 135.2 kB / 0.691 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.5441, allocations: 194.2 kB / 0.6911 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.5456, allocations: 0.7147 MB / 0.6918 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/0.5457, allocations: 69.95 kB / 0.6919 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.5458, allocations: 80 kB / 0.692 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.548, allocations: 0.9028 MB / 0.6929 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.5481, allocations: 0 / 0.6929 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.5482, allocations: 36 kB / 0.6929 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.5482, allocations: 20 kB / 0.6929 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.5509, allocations: 1.108 MB / 0.694 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005774/0.5567, allocations: 2.515 MB / 0.6965 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.5589, allocations: 0.8065 MB / 0.6973 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.559, allocations: 36.62 kB / 0.6973 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.5603, allocations: 491 kB / 0.6978 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=80): time 3.566e-06/0.5603, allocations: 0 / 0.6978 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=80): time 0.00464/0.565, allocations: 1.191 MB / 0.6989 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.5651, allocations: 196.5 kB / 0.6991 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.5663, allocations: 0.6253 MB / 0.6997 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5664, allocations: 45.64 kB / 0.6998 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.5668, allocations: 396.4 kB / 0.7001 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.5671, allocations: 264.2 kB / 0.7004 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.5672, allocations: 20 kB / 0.7004 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5674, allocations: 386.8 kB / 0.7008 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.5682, allocations: 241.9 kB / 0.701 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/0.5691, allocations: 354.5 kB / 0.7013 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.5699, allocations: 286.9 kB / 0.7016 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.57, allocations: 4 kB / 0.7016 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002617/0.5726, allocations: 0.7981 MB / 0.7024 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.5726, allocations: 11.98 kB / 0.7024 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5727, allocations: 0 / 0.7024 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007544/0.5734, allocations: 88.73 kB / 0.7025 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.5744, allocations: 151.8 kB / 0.7026 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.5769, allocations: 1.527 MB / 0.7041 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/0.5778, allocations: 100.1 kB / 0.7042 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.5779, allocations: 27.98 kB / 0.7043 GB, free: 2.371 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005574/0.5784, allocations: 266.6 kB / 0.7045 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.5786, allocations: 83.84 kB / 0.7046 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.5819, allocations: 1.073 MB / 0.7056 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5819, allocations: 12 kB / 0.7056 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5819, allocations: 4 kB / 0.7057 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.5819, allocations: 3.984 kB / 0.7057 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.5834, allocations: 0.888 MB / 0.7065 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5834, allocations: 0 / 0.7065 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/0.5843, allocations: 147.8 kB / 0.7067 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006914/0.585, allocations: 96.64 kB / 0.7068 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.5851, allocations: 23.98 kB / 0.7068 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.5875, allocations: 1.556 MB / 0.7083 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5875, allocations: 0 / 0.7083 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.5902, allocations: 0.9278 MB / 0.7092 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.5908, allocations: 283.7 kB / 0.7095 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.591, allocations: 20 kB / 0.7095 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/0.5919, allocations: 87.64 kB / 0.7096 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.5921, allocations: 72.89 kB / 0.7096 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/0.5922, allocations: 39.92 kB / 0.7097 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007927/0.593, allocations: 455 kB / 0.7101 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.593, allocations: 0 / 0.7101 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001224/0.5942, allocations: 303.2 kB / 0.7104 GB, free: 11.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004676/0.5989, allocations: 1.956 MB / 0.7123 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.6004, allocations: 0.8001 MB / 0.7131 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6004, allocations: 0 / 0.7131 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.6012, allocations: 0.5118 MB / 0.7136 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.6021, allocations: 236.5 kB / 0.7138 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/0.6107, allocations: 5.477 MB / 0.7192 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.6112, allocations: 1.043 MB / 0.7202 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007308/0.6119, allocations: 254.6 kB / 0.7204 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004626/0.6124, allocations: 387.2 kB / 0.7208 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.6124, allocations: 0 / 0.7208 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7318/1.344, allocations: 20.97 MB / 0.7413 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/1.345, allocations: 283.9 kB / 0.7416 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.98, allocations: 4 kB / 0.7416 GB, free: 12.31 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: