Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.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.0009551/0.0009551, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001783/0.001783, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9369/0.9369, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo): time 0.06973/0.06973, allocations: 19.08 MB / 255.6 MB, free: 12.35 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/Utilities/LinProgFunc.mo:6:1-33:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 381.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.412e-05, allocations: 5.094 kB / 381.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002162/0.002186, allocations: 1.574 MB / 383.3 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.003002, allocations: 0.6123 MB / 383.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.00305, allocations: 0 / 383.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.00309, allocations: 0 / 383.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.003127, allocations: 3.938 kB / 383.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.003481, allocations: 82.84 kB / 384 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.003541, allocations: 31.8 kB / 384 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.003582, allocations: 0 / 384 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.00362, allocations: 15.97 kB / 384 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.41e-05/0.003644, allocations: 11.94 kB / 384 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.003654, allocations: 0 / 384 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.003838, allocations: 59.88 kB / 384.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.003852, allocations: 0 / 384.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.003873, allocations: 11.98 kB / 384.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004009, allocations: 75.72 kB / 384.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.004011, allocations: 0 / 384.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004013, allocations: 0 / 384.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.004017, allocations: 0 / 384.2 MB, free: 5.852 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002537/0.00427, allocations: 270.2 kB / 384.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.004312, allocations: 11.98 kB / 384.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.004369, allocations: 38.7 kB / 384.5 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.004392, allocations: 8.891 kB / 384.5 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.077e-05/0.004463, allocations: 117.7 kB / 384.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.004472, allocations: 384 / 384.6 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.004482, allocations: 8.375 kB / 384.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.004587, allocations: 59.95 kB / 384.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.004594, allocations: 4.188 kB / 384.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004602, allocations: 4.125 kB / 384.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004607, allocations: 0 / 384.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.004633, allocations: 15.94 kB / 384.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.004936, allocations: 320.1 kB / 385 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.004996, allocations: 45.09 kB / 385 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.005017, allocations: 13.84 kB / 385.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.005287, allocations: 55.95 kB / 385.1 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005308, allocations: 38.55 kB / 385.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.005309, allocations: 0 / 385.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001586/0.005468, allocations: 53.67 kB / 385.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.005509, allocations: 81.11 kB / 385.3 MB, free: 4.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.005859, allocations: 105.8 kB / 385.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.005868, allocations: 25.7 kB / 385.4 MB, free: 4.406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.005911, allocations: 92.09 kB / 385.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.005922, allocations: 19.81 kB / 385.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.005947, allocations: 13.72 kB / 385.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.006025, allocations: 330.7 kB / 385.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.006036, allocations: 0 / 385.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.006051, allocations: 13.72 kB / 385.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/0.006081, allocations: 29.89 kB / 385.9 MB, free: 3.887 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006083, allocations: 0 / 385.9 MB, free: 3.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.146e-05/0.006134, allocations: 45.64 kB / 385.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006148, allocations: 4 kB / 385.9 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.00616, allocations: 4 kB / 386 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.006172, allocations: 0 / 386 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.006215, allocations: 0 / 386 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.00622, allocations: 0 / 386 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.386e-05/0.006234, allocations: 7.984 kB / 386 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.00624, allocations: 4.062 kB / 386 MB, free: 3.816 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.006292, allocations: 115.8 kB / 386.1 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.006311, allocations: 3.953 kB / 386.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.00639, allocations: 48.94 kB / 386.1 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.006394, allocations: 4 kB / 386.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006397, allocations: 0 / 386.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006401, allocations: 4.031 kB / 386.1 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.00658, allocations: 241.7 kB / 386.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.006583, allocations: 0 / 386.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-06/0.006591, allocations: 8.062 kB / 386.4 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.006593, allocations: 3.984 kB / 386.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006598, allocations: 4.188 kB / 386.4 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.006602, allocations: 8 kB / 386.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006603, allocations: 0 / 386.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.006692, allocations: 214.8 kB / 386.6 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.006698, allocations: 7.953 kB / 386.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.006706, allocations: 0 / 386.6 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.006747, allocations: 3.938 kB / 386.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.006759, allocations: 3.938 kB / 386.6 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006763, allocations: 4 kB / 386.6 MB, free: 3.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.499e-05/0.006788, allocations: 87.31 kB / 386.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006788, allocations: 0 / 386.7 MB, free: 2.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.006976, allocations: 27.86 kB / 386.7 MB, free: 2.961 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004018/0.007378, allocations: 0.7741 MB / 387.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.007481, allocations: 45.62 kB / 387.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.007483, allocations: 0 / 387.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.007499, allocations: 33.7 kB / 387.6 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.0077, allocations: 4.281 kB / 387.6 MB, free: 2.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.008539, allocations: 1.321 MB / 388.9 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.008594, allocations: 63.34 kB / 389 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.148e-05/0.008606, allocations: 0 / 389 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.008637, allocations: 12.5 kB / 389 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008638, allocations: 0 / 389 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.02678, allocations: 2.117 MB / 391.1 MB, free: 14.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.282, allocations: 8 kB / 391.1 MB, free: 14.46 MB / 330.7 MB " [Timeout remaining time 653] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe >> ../files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun_fmu --startTime=0 --stopTime=100000 --stepSize=60.024 --timeout=50 --tolerance=1e-06 SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun.fmu > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.177084911614656] Failed to read output from testmodel.py, exit status != 0: 7.364583128131926 7.376330784 7.370381279 Calling exit ...