Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001258/0.001259, allocations: 108 kB / 16.4 MB, free: 6.508 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.00124/0.00124, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.329/1.329, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.041/1.041, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 179] 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.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.91 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1759, allocations: 89.52 MB / 0.7353 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007351/0.1833, allocations: 5.168 MB / 0.7403 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.528/0.7113, allocations: 150.7 MB / 0.8875 GB, free: 5.641 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.7124, allocations: 15.94 kB / 0.8875 GB, free: 5.625 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.7135, allocations: 197.1 kB / 0.8877 GB, free: 5.434 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.716, allocations: 0.5705 MB / 0.8882 GB, free: 4.879 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.7187, allocations: 0.863 MB / 0.8891 GB, free: 4.047 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.7211, allocations: 1.452 MB / 0.8905 GB, free: 2.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.7225, allocations: 0.6694 MB / 0.8911 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.7235, allocations: 0.5178 MB / 0.8916 GB, free: 1.379 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.7246, allocations: 0.5523 MB / 0.8922 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.725, allocations: 128 kB / 0.8923 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.7263, allocations: 491.6 kB / 0.8928 GB, free: 224 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.7268, allocations: 327 kB / 0.8931 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009593/0.7278, allocations: 0.6219 MB / 0.8937 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.7306, allocations: 1.757 MB / 0.8954 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7306, allocations: 0 / 0.8954 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7306, allocations: 0 / 0.8954 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.7307, allocations: 0 / 0.8954 GB, free: 13.52 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003066/0.7337, allocations: 1.556 MB / 0.8969 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7338, allocations: 8.031 kB / 0.8969 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.734, allocations: 156.3 kB / 0.8971 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.7357, allocations: 311.9 kB / 0.8974 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.7371, allocations: 0.7935 MB / 0.8981 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.7372, allocations: 74 kB / 0.8982 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7373, allocations: 96 kB / 0.8983 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.7395, allocations: 1.07 MB / 0.8994 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.7395, allocations: 0 / 0.8994 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.7396, allocations: 44 kB / 0.8994 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.7397, allocations: 20 kB / 0.8994 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.7422, allocations: 1.272 MB / 0.9007 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005198/0.7474, allocations: 3.07 MB / 0.9037 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.7502, allocations: 1.02 MB / 0.9047 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/0.751, allocations: 366.6 kB / 0.905 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/0.7511, allocations: 36.59 kB / 0.905 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.7524, allocations: 0.5578 MB / 0.9056 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 3.246e-06/0.7524, allocations: 4 kB / 0.9056 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.00418/0.7566, allocations: 1.384 MB / 0.9069 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.7567, allocations: 196.9 kB / 0.9071 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.7577, allocations: 0.6371 MB / 0.9077 GB, free: 472 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.7578, allocations: 45.7 kB / 0.9078 GB, free: 420 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.7583, allocations: 433.8 kB / 0.9082 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.7585, allocations: 285.5 kB / 0.9085 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.7588, allocations: 156.2 kB / 0.9086 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.7591, allocations: 390.8 kB / 0.909 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/0.7599, allocations: 301.8 kB / 0.9093 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009054/0.7608, allocations: 418.5 kB / 0.9097 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.7624, allocations: 0.6906 MB / 0.9104 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7625, allocations: 0 / 0.9104 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002586/0.765, allocations: 0.9232 MB / 0.9113 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.7651, allocations: 4 kB / 0.9113 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7651, allocations: 0 / 0.9113 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.7657, allocations: 80.88 kB / 0.9113 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.7665, allocations: 187.4 kB / 0.9115 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.7689, allocations: 1.643 MB / 0.9131 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009639/0.7698, allocations: 103.5 kB / 0.9132 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.7699, allocations: 36.03 kB / 0.9133 GB, free: 10.6 MB / 0.7012 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 (90): * Single equations (assignments): 89 * 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.0006506/0.7706, allocations: 273.6 kB / 0.9135 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.7708, allocations: 87.44 kB / 0.9136 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/0.7739, allocations: 1.209 MB / 0.9148 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.774, allocations: 8 kB / 0.9148 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.774, allocations: 3.938 kB / 0.9148 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.774, allocations: 7.969 kB / 0.9148 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.7782, allocations: 2.148 MB / 0.9169 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.7782, allocations: 0 / 0.9169 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.7789, allocations: 171.8 kB / 0.9171 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.7794, allocations: 72.8 kB / 0.9171 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.7795, allocations: 27.97 kB / 0.9172 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.7817, allocations: 1.67 MB / 0.9188 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7817, allocations: 0 / 0.9188 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.7846, allocations: 1.116 MB / 0.9199 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.7851, allocations: 284.1 kB / 0.9201 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.7852, allocations: 16.06 kB / 0.9202 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.786, allocations: 91.91 kB / 0.9203 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.7862, allocations: 76.78 kB / 0.9203 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.7863, allocations: 43.97 kB / 0.9204 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006583/0.787, allocations: 467 kB / 0.9208 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.787, allocations: 0 / 0.9208 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009903/0.788, allocations: 347.1 kB / 0.9211 GB, free: 2.254 MB / 0.7012 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 (97): * Single equations (assignments): 91 * 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.004956/0.7929, allocations: 2.179 MB / 0.9233 GB, free: 248 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.7955, allocations: 0.9251 MB / 0.9242 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.7955, allocations: 0 / 0.9242 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.7968, allocations: 0.5821 MB / 0.9247 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.7983, allocations: 302.2 kB / 0.925 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.812, allocations: 6.755 MB / 0.9316 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.8128, allocations: 1.047 MB / 0.9327 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001044/0.8139, allocations: 282.9 kB / 0.9329 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007121/0.8146, allocations: 423.3 kB / 0.9333 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of SimCode: time 1.202e-06/0.8146, allocations: 0 / 0.9333 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/0.8795, allocations: 22.66 MB / 0.9555 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.04, allocations: 12.52 kB / 0.9555 GB, free: 15.44 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.92521796701476] Failed to read output from testmodel.py, exit status != 0: 14.24469861201942 14.269527054 13.534497596 Calling exit ...