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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007623/0.0007623, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 209.8 kB / 22.26 MB, free: 3.852 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9026/0.9026, allocations: 230.6 MB / 256 MB, free: 3.461 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7965/0.7965, allocations: 203.8 MB / 0.5042 GB, free: 0.6406 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009265/0.0009265, allocations: 60.09 kB / 0.7182 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4546, allocations: 102 MB / 0.8178 GB, free: 24.94 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006741/0.4613, allocations: 5.295 MB / 0.823 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1425/0.6038, allocations: 154.2 MB / 0.9736 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.6049, allocations: 19.88 kB / 0.9736 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.6055, allocations: 210.1 kB / 0.9738 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.6073, allocations: 0.5761 MB / 0.9744 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.6091, allocations: 0.8962 MB / 0.9752 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.6106, allocations: 1.487 MB / 0.9767 GB, free: 124 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.6113, allocations: 478.3 kB / 0.9772 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.612, allocations: 0.549 MB / 0.9777 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008955/0.6129, allocations: 0.5601 MB / 0.9782 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.6131, allocations: 131.9 kB / 0.9784 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.6141, allocations: 0.5269 MB / 0.9789 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.6143, allocations: 326.9 kB / 0.9792 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.6149, allocations: 0.6219 MB / 0.9798 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.6168, allocations: 1.812 MB / 0.9816 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6168, allocations: 0 / 0.9816 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6168, allocations: 0 / 0.9816 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.676e-05/0.6169, allocations: 0 / 0.9816 GB, free: 11.1 MB / 0.7605 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.002467/0.6193, allocations: 1.501 MB / 0.983 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6194, allocations: 9.469 kB / 0.983 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.6195, allocations: 148.3 kB / 0.9832 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.6209, allocations: 371.8 kB / 0.9835 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6219, allocations: 0.749 MB / 0.9843 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.622, allocations: 74 kB / 0.9843 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.6221, allocations: 88 kB / 0.9844 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.6237, allocations: 1.078 MB / 0.9855 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6238, allocations: 0 / 0.9855 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.6238, allocations: 36 kB / 0.9855 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6238, allocations: 24 kB / 0.9855 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.6253, allocations: 1.276 MB / 0.9868 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.6285, allocations: 3.015 MB / 0.9897 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.6301, allocations: 0.9024 MB / 0.9906 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.6305, allocations: 340.6 kB / 0.9909 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.6306, allocations: 38.48 kB / 0.991 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007249/0.6313, allocations: 0.5549 MB / 0.9915 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 1.854e-06/0.6313, allocations: 0 / 0.9915 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.002614/0.6339, allocations: 1.324 MB / 0.9928 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.634, allocations: 188.9 kB / 0.993 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.6346, allocations: 0.6646 MB / 0.9936 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.6347, allocations: 41.7 kB / 0.9937 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.6349, allocations: 441 kB / 0.9941 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.6351, allocations: 289.5 kB / 0.9944 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.6352, allocations: 154.6 kB / 0.9945 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6354, allocations: 394.8 kB / 0.9949 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.6358, allocations: 301.8 kB / 0.9952 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.6364, allocations: 418.5 kB / 0.9956 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009472/0.6373, allocations: 0.6906 MB / 0.9962 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6373, allocations: 3.938 kB / 0.9963 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001426/0.6387, allocations: 0.9311 MB / 0.9972 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6388, allocations: 4 kB / 0.9972 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6388, allocations: 0 / 0.9972 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/0.6391, allocations: 88.83 kB / 0.9972 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.6396, allocations: 171.8 kB / 0.9974 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.6412, allocations: 1.534 MB / 0.9989 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.6417, allocations: 115.5 kB / 0.999 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.6417, allocations: 31.98 kB / 0.9991 GB, free: 8.652 MB / 0.7761 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.0003418/0.642, allocations: 269.6 kB / 0.9993 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.6422, allocations: 91.44 kB / 0.9994 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.6438, allocations: 1.214 MB / 1.001 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6438, allocations: 12 kB / 1.001 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.6438, allocations: 0 / 1.001 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6438, allocations: 3.984 kB / 1.001 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.6466, allocations: 2.136 MB / 1.003 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.6466, allocations: 0 / 1.003 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.647, allocations: 171.8 kB / 1.003 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.6472, allocations: 68.8 kB / 1.003 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.6473, allocations: 27.97 kB / 1.003 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.6485, allocations: 1.562 MB / 1.004 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6485, allocations: 0 / 1.004 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.65, allocations: 1.123 MB / 1.006 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.6503, allocations: 215.2 kB / 1.006 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.6504, allocations: 24.05 kB / 1.006 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.651, allocations: 75.92 kB / 1.006 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6511, allocations: 88.78 kB / 1.006 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.6512, allocations: 35.97 kB / 1.006 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004557/0.6516, allocations: 487 kB / 1.006 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.6516, allocations: 0 / 1.006 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007188/0.6524, allocations: 351 kB / 1.007 GB, free: 0.5234 MB / 0.7761 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.002639/0.655, allocations: 2.181 MB / 1.009 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.6564, allocations: 0.8899 MB / 1.01 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6564, allocations: 0 / 1.01 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.6571, allocations: 0.5509 MB / 1.01 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008409/0.658, allocations: 317.1 kB / 1.011 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/0.6667, allocations: 6.843 MB / 1.017 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.6672, allocations: 1.051 MB / 1.018 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006854/0.6679, allocations: 275.1 kB / 1.019 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.6684, allocations: 431.2 kB / 1.019 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of SimCode: time 1.513e-06/0.6684, allocations: 0 / 1.019 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04168/0.7101, allocations: 23.62 MB / 1.042 GB, free: 12.61 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.877/9.587, allocations: 8.75 kB / 1.042 GB, free: 12.6 MB / 0.823 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 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: 12.534110574051738] Failed to read output from testmodel.py, exit status != 0: 9.740953417960554 9.750498973 9.131602515 Calling exit ...