Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5316/0.5316, allocations: 90.81 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 348.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 112.4 kB / 421.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.991e-05, allocations: 4 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1819, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.916/5.098, allocations: 1.685 GB / 2.245 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/5.098, allocations: 83.53 kB / 2.245 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1641/5.262, allocations: 80.52 MB / 2.324 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/5.262, allocations: 0 / 2.324 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001042/5.262, allocations: 35.94 kB / 2.324 GB, free: 149.6 MB / 0.6042 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.002511/5.265, allocations: 1.268 MB / 2.325 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/5.265, allocations: 11.98 kB / 2.325 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/5.265, allocations: 177.3 kB / 2.325 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/5.266, allocations: 218.2 kB / 2.326 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/5.267, allocations: 0.7132 MB / 2.326 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/5.268, allocations: 86.25 kB / 2.326 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/5.268, allocations: 112 kB / 2.327 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/5.269, allocations: 1.095 MB / 2.328 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/5.269, allocations: 0 / 2.328 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/5.269, allocations: 48 kB / 2.328 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/5.269, allocations: 32 kB / 2.328 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/5.271, allocations: 1.183 MB / 2.329 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/5.275, allocations: 3.055 MB / 2.332 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/5.276, allocations: 0.7476 MB / 2.333 GB, free: 140.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/5.277, allocations: 275.2 kB / 2.333 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/5.277, allocations: 32.81 kB / 2.333 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/5.277, allocations: 437.2 kB / 2.333 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 2.284e-06/5.277, allocations: 0 / 2.333 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.001504/5.279, allocations: 0.7304 MB / 2.334 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/5.279, allocations: 240.1 kB / 2.334 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/5.28, allocations: 0.6757 MB / 2.335 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/5.28, allocations: 37.7 kB / 2.335 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/5.28, allocations: 499.8 kB / 2.335 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/5.28, allocations: 264.2 kB / 2.336 GB, free: 137.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/5.28, allocations: 16 kB / 2.336 GB, free: 137.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/5.28, allocations: 334 kB / 2.336 GB, free: 137 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/5.28, allocations: 217.5 kB / 2.336 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/5.281, allocations: 325.1 kB / 2.336 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/5.281, allocations: 274 kB / 2.337 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/5.281, allocations: 4 kB / 2.337 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00138/5.283, allocations: 0.746 MB / 2.337 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/5.283, allocations: 8.875 kB / 2.337 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/5.283, allocations: 0 / 2.337 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/5.283, allocations: 88.83 kB / 2.338 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/5.284, allocations: 143.8 kB / 2.338 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/5.285, allocations: 1.524 MB / 2.339 GB, free: 133.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/5.286, allocations: 87.25 kB / 2.339 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/5.286, allocations: 27.98 kB / 2.339 GB, free: 133.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0001445/5.286, allocations: 152.9 kB / 2.339 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/5.286, allocations: 86.95 kB / 2.34 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/5.288, allocations: 0.9985 MB / 2.34 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/5.288, allocations: 12 kB / 2.341 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/5.288, allocations: 3.953 kB / 2.341 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/5.288, allocations: 7.984 kB / 2.341 GB, free: 132.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/5.289, allocations: 1.012 MB / 2.342 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/5.289, allocations: 0 / 2.342 GB, free: 131.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/5.29, allocations: 151.8 kB / 2.342 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/5.29, allocations: 80.78 kB / 2.342 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/5.29, allocations: 23.98 kB / 2.342 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/5.292, allocations: 1.54 MB / 2.343 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/5.292, allocations: 0 / 2.343 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/5.293, allocations: 0.844 MB / 2.344 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/5.294, allocations: 303.6 kB / 2.344 GB, free: 128 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/5.294, allocations: 16 kB / 2.344 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/5.294, allocations: 67.94 kB / 2.344 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/5.294, allocations: 56.7 kB / 2.344 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/5.295, allocations: 35.97 kB / 2.345 GB, free: 127.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005524/5.295, allocations: 0.5304 MB / 2.345 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/5.295, allocations: 0 / 2.345 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001044/5.296, allocations: 406.7 kB / 2.345 GB, free: 126.9 MB / 0.6042 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) * 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 (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.003108/5.299, allocations: 2.317 MB / 2.348 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001108/5.3, allocations: 0.7374 MB / 2.348 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/5.3, allocations: 0 / 2.348 GB, free: 123.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006156/5.301, allocations: 490.8 kB / 2.349 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/5.302, allocations: 255.4 kB / 2.349 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/5.305, allocations: 1.791 MB / 2.351 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/5.306, allocations: 1.11 MB / 2.352 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007408/5.307, allocations: 266.8 kB / 2.352 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/5.307, allocations: 455.2 kB / 2.353 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/5.307, allocations: 0 / 2.353 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/5.352, allocations: 32.83 MB / 2.385 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/5.352, allocations: 244.5 kB / 2.385 GB, free: 86.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/8.356, allocations: 4.062 kB / 2.385 GB, free: 86.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)