Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001438/0.001438, allocations: 107.7 kB / 16.45 MB, free: 6.035 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.00149/0.00149, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.266/1.266, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 293.8 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 180.9 MB / 0.5261 GB, free: 14.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 104.1 kB / 0.7247 GB, free: 40.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1343, allocations: 94.16 MB / 0.8167 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006256/0.1405, allocations: 4.832 MB / 0.8214 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.3056, allocations: 151.1 MB / 0.9689 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007303/0.3063, allocations: 23.81 kB / 0.9689 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007229/0.307, allocations: 186.2 kB / 0.9691 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.3089, allocations: 0.5475 MB / 0.9697 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.3109, allocations: 0.8417 MB / 0.9705 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001763/0.3127, allocations: 1.386 MB / 0.9718 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.3135, allocations: 413.2 kB / 0.9722 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007166/0.3142, allocations: 494.3 kB / 0.9727 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.3148, allocations: 0.5056 MB / 0.9732 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.315, allocations: 124 kB / 0.9733 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.3158, allocations: 479.6 kB / 0.9738 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.316, allocations: 295.1 kB / 0.9741 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.3165, allocations: 0.5596 MB / 0.9746 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.3183, allocations: 1.646 MB / 0.9762 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3183, allocations: 4 kB / 0.9762 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3183, allocations: 0 / 0.9762 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3183, allocations: 0 / 0.9762 GB, free: 1.484 MB / 0.7169 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.002352/0.3207, allocations: 1.463 MB / 0.9776 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3207, allocations: 12.03 kB / 0.9777 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.3208, allocations: 139.4 kB / 0.9778 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008239/0.3217, allocations: 188.1 kB / 0.978 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3228, allocations: 0.7659 MB / 0.9787 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.3229, allocations: 66 kB / 0.9788 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.323, allocations: 79.98 kB / 0.9788 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3245, allocations: 0.9184 MB / 0.9797 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.3245, allocations: 7.938 kB / 0.9798 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.3246, allocations: 36 kB / 0.9798 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3246, allocations: 20 kB / 0.9798 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.3263, allocations: 1.108 MB / 0.9809 GB, free: 12.55 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.3301, allocations: 2.713 MB / 0.9835 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3316, allocations: 0.8403 MB / 0.9844 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.3321, allocations: 286.7 kB / 0.9846 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.808e-05/0.3322, allocations: 24.61 kB / 0.9847 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007996/0.333, allocations: 0.4915 MB / 0.9851 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=79): time 2.114e-06/0.333, allocations: 0 / 0.9851 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79): time 0.002912/0.3359, allocations: 1.194 MB / 0.9863 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.336, allocations: 192.6 kB / 0.9865 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007284/0.3367, allocations: 0.6214 MB / 0.9871 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.3368, allocations: 41.69 kB / 0.9871 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.3371, allocations: 405 kB / 0.9875 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.3373, allocations: 273.7 kB / 0.9878 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3375, allocations: 142.6 kB / 0.9879 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3377, allocations: 390.7 kB / 0.9883 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.3382, allocations: 249.9 kB / 0.9885 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.3388, allocations: 362.5 kB / 0.9889 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3398, allocations: 0.576 MB / 0.9894 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3398, allocations: 4 kB / 0.9894 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001739/0.3415, allocations: 0.8024 MB / 0.9902 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3415, allocations: 4 kB / 0.9902 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.3415, allocations: 3.984 kB / 0.9902 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/0.3421, allocations: 88.75 kB / 0.9903 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.3427, allocations: 147.8 kB / 0.9905 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.3447, allocations: 1.647 MB / 0.9921 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.3453, allocations: 83.58 kB / 0.9921 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.3453, allocations: 27.98 kB / 0.9922 GB, free: 0.5234 MB / 0.7325 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 (85): * Single equations (assignments): 84 * 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.0003448/0.3457, allocations: 270.8 kB / 0.9924 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3458, allocations: 91.38 kB / 0.9925 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.3481, allocations: 1.066 MB / 0.9936 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3481, allocations: 11.94 kB / 0.9936 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3481, allocations: 0 / 0.9936 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3481, allocations: 3.984 kB / 0.9936 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.3512, allocations: 1.971 MB / 0.9955 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3512, allocations: 0 / 0.9955 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005229/0.3517, allocations: 143.8 kB / 0.9956 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003853/0.3521, allocations: 72.73 kB / 0.9957 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.3522, allocations: 27.97 kB / 0.9957 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.354, allocations: 1.67 MB / 0.9974 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.354, allocations: 0 / 0.9974 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.3559, allocations: 1.002 MB / 0.9983 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.3563, allocations: 276.2 kB / 0.9986 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3564, allocations: 16 kB / 0.9986 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.357, allocations: 67.92 kB / 0.9987 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3571, allocations: 68.91 kB / 0.9987 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.3572, allocations: 40.03 kB / 0.9988 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005661/0.3578, allocations: 459 kB / 0.9992 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 0.9992 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007926/0.3586, allocations: 319.2 kB / 0.9995 GB, free: 8.723 MB / 0.7481 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 (90): * Single equations (assignments): 84 * 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.003987/0.3626, allocations: 2.04 MB / 1.002 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.3641, allocations: 0.7806 MB / 1.002 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3641, allocations: 0 / 1.002 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.365, allocations: 488.2 kB / 1.003 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.3661, allocations: 317.5 kB / 1.003 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2947/0.6608, allocations: 6.202 MB / 1.009 GB, free: 188.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.6613, allocations: 1.017 MB / 1.01 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008059/0.6621, allocations: 260.2 kB / 1.01 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.6625, allocations: 367.2 kB / 1.011 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/0.6625, allocations: 1.062 kB / 1.011 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0521/0.7146, allocations: 21.74 MB / 1.032 GB, free: 177.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.86, allocations: 0 / 1.032 GB, free: 177.2 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.65599053679034] Failed to read output from testmodel.py, exit status != 0: 13.047972439788282 13.05620507 12.735975448 Calling exit ...