Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 118.8 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8925/0.8925, allocations: 129.2 MB / 432.5 MB, free: 13.34 MB / 350.1 MB " [Timeout remaining time 179] 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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.91 kB / 0.5987 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4114, allocations: 83.44 MB / 0.6802 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005397/0.4168, allocations: 5.186 MB / 0.6852 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1823/0.5992, allocations: 151.2 MB / 0.8329 GB, free: 1.082 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.6005, allocations: 19.88 kB / 0.8329 GB, free: 1.062 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.6014, allocations: 202.1 kB / 0.8331 GB, free: 0.8633 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.604, allocations: 0.5746 MB / 0.8336 GB, free: 296 kB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.6066, allocations: 0.8641 MB / 0.8345 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.6089, allocations: 1.452 MB / 0.8359 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.61, allocations: 476 kB / 0.8363 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.6112, allocations: 0.5177 MB / 0.8368 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.6124, allocations: 0.5523 MB / 0.8374 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.6128, allocations: 127.9 kB / 0.8375 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.6143, allocations: 0.5035 MB / 0.838 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005184/0.6148, allocations: 322.9 kB / 0.8383 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.6158, allocations: 0.6025 MB / 0.8389 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.6193, allocations: 1.762 MB / 0.8406 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6193, allocations: 0 / 0.8406 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6193, allocations: 4 kB / 0.8406 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.56e-05/0.6194, allocations: 0 / 0.8406 GB, free: 9.09 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00385/0.6233, allocations: 1.556 MB / 0.8421 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6233, allocations: 8.031 kB / 0.8421 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.6235, allocations: 148.2 kB / 0.8423 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6246, allocations: 224 kB / 0.8425 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.6262, allocations: 0.7892 MB / 0.8433 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/0.6263, allocations: 77.98 kB / 0.8433 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.6264, allocations: 88 kB / 0.8434 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6283, allocations: 1.012 MB / 0.8444 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.6283, allocations: 4 kB / 0.8444 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.6284, allocations: 40 kB / 0.8445 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.6284, allocations: 24 kB / 0.8445 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.6305, allocations: 1.179 MB / 0.8456 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005056/0.6356, allocations: 3.05 MB / 0.8486 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.6373, allocations: 0.86 MB / 0.8495 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.6379, allocations: 294.7 kB / 0.8497 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007091/0.6386, allocations: 466.2 kB / 0.8502 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009458/0.6396, allocations: 0.4991 MB / 0.8507 GB, free: 14.36 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/0.6396, allocations: 0 / 0.8507 GB, free: 14.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003518/0.6431, allocations: 1.243 MB / 0.8519 GB, free: 13.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.6432, allocations: 196.6 kB / 0.8521 GB, free: 12.86 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/0.6442, allocations: 0.6411 MB / 0.8527 GB, free: 12.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.6443, allocations: 41.7 kB / 0.8527 GB, free: 12.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.6447, allocations: 436.9 kB / 0.8532 GB, free: 11.72 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.6449, allocations: 277.7 kB / 0.8534 GB, free: 11.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.6452, allocations: 146.6 kB / 0.8536 GB, free: 11.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.6454, allocations: 394.7 kB / 0.8539 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.6459, allocations: 257.8 kB / 0.8542 GB, free: 10.65 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.6466, allocations: 370.5 kB / 0.8545 GB, free: 10.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.6479, allocations: 0.6033 MB / 0.8551 GB, free: 9.648 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6479, allocations: 7.938 kB / 0.8551 GB, free: 9.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002072/0.65, allocations: 0.8257 MB / 0.8559 GB, free: 8.805 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.65, allocations: 9.969 kB / 0.8559 GB, free: 8.797 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.65, allocations: 3.984 kB / 0.8559 GB, free: 8.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.6506, allocations: 80.78 kB / 0.856 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.6513, allocations: 159.8 kB / 0.8562 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.6536, allocations: 1.637 MB / 0.8578 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/0.6543, allocations: 95.45 kB / 0.8579 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.6544, allocations: 31.98 kB / 0.8579 GB, free: 6.648 MB / 0.67 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0005573/0.655, allocations: 271.7 kB / 0.8582 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.6552, allocations: 91.42 kB / 0.8582 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.6579, allocations: 1.093 MB / 0.8593 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.6579, allocations: 11.98 kB / 0.8593 GB, free: 5.164 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6579, allocations: 0 / 0.8593 GB, free: 5.164 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6579, allocations: 12.02 kB / 0.8593 GB, free: 5.152 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.6617, allocations: 2.005 MB / 0.8613 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6617, allocations: 0 / 0.8613 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.6624, allocations: 147.8 kB / 0.8614 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.6629, allocations: 76.78 kB / 0.8615 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/0.663, allocations: 27.98 kB / 0.8615 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.6651, allocations: 1.659 MB / 0.8632 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6651, allocations: 0 / 0.8632 GB, free: 1.035 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3688/1.034, allocations: 1.014 MB / 0.8641 GB, free: 175.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007681/1.035, allocations: 285.6 kB / 0.8644 GB, free: 175.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/1.035, allocations: 18.11 kB / 0.8644 GB, free: 175.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/1.036, allocations: 68.44 kB / 0.8645 GB, free: 175.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.036, allocations: 74.47 kB / 0.8646 GB, free: 175.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/1.036, allocations: 39.69 kB / 0.8646 GB, free: 175.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007012/1.037, allocations: 467.8 kB / 0.8651 GB, free: 175.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.037, allocations: 0 / 0.8651 GB, free: 175.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001104/1.038, allocations: 357.5 kB / 0.8654 GB, free: 175.3 MB / 0.67 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00418/1.042, allocations: 2.101 MB / 0.8674 GB, free: 174.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.044, allocations: 0.7996 MB / 0.8682 GB, free: 174.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.044, allocations: 0.7188 kB / 0.8682 GB, free: 174.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009853/1.045, allocations: 0.5063 MB / 0.8687 GB, free: 173.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.046, allocations: 306.3 kB / 0.869 GB, free: 173.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.059, allocations: 6.444 MB / 0.8753 GB, free: 170.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/1.059, allocations: 1.038 MB / 0.8763 GB, free: 169.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001036/1.06, allocations: 272.8 kB / 0.8766 GB, free: 169.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/1.061, allocations: 417.9 kB / 0.877 GB, free: 169.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.553e-06/1.061, allocations: 0 / 0.877 GB, free: 169.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08379/1.145, allocations: 22.56 MB / 0.899 GB, free: 156.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.37, allocations: 7 kB / 0.899 GB, free: 156.7 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.03485982818529] Failed to read output from testmodel.py, exit status != 0: 14.574749374296516 14.591085549 13.968260488 Calling exit ...