Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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.0008253/0.0008253, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008425/0.0008425, allocations: 169.6 kB / 23.23 MB, free: 1.332 MB / 18.57 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.8927/0.8927, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06067/0.06067, allocations: 18.14 MB / 278.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.208e-06, allocations: 0 / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.261e-05/4.682e-05, allocations: 3.703 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.003656/0.003703, allocations: 1.694 MB / 414.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.005044, allocations: 0.5905 MB / 415 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.005193, allocations: 1.438 kB / 415 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.005693, allocations: 44.73 kB / 415 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.005936, allocations: 60.7 kB / 415.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.006512, allocations: 143.8 kB / 415.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.006897, allocations: 189.1 kB / 415.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.0071, allocations: 33.16 kB / 415.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.0073, allocations: 82.27 kB / 415.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.007562, allocations: 112.9 kB / 415.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.007626, allocations: 21.19 kB / 415.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.007657, allocations: 21.78 kB / 415.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.007786, allocations: 73.69 kB / 415.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.007864, allocations: 57.06 kB / 415.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.008209, allocations: 230.4 kB / 416 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.008215, allocations: 0 / 416 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.00822, allocations: 1.25 kB / 416 MB, free: 12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.008228, allocations: 0.6562 kB / 416 MB, free: 12 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001289/0.009517, allocations: 0.5104 MB / 416.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.293e-05/0.00959, allocations: 14.11 kB / 416.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.009641, allocations: 43.83 kB / 416.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.009707, allocations: 19.69 kB / 416.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.0103, allocations: 268.3 kB / 416.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.01032, allocations: 11.47 kB / 416.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.01036, allocations: 12.22 kB / 416.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.01066, allocations: 142.3 kB / 417 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.01068, allocations: 5.203 kB / 417 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.0107, allocations: 6.562 kB / 417 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.01071, allocations: 2.688 kB / 417.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.01095, allocations: 128.8 kB / 417.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.01185, allocations: 0.4944 MB / 417.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.01214, allocations: 154.8 kB / 417.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01225, allocations: 75.8 kB / 417.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.01229, allocations: 2.125 kB / 417.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01231, allocations: 33.31 kB / 417.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.335e-06/0.01231, allocations: 0 / 417.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005108/0.01282, allocations: 265.3 kB / 418.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.01286, allocations: 53.72 kB / 418.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.01334, allocations: 299.9 kB / 418.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.01336, allocations: 27.23 kB / 418.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.01344, allocations: 130.1 kB / 418.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.01351, allocations: 45.94 kB / 418.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.01358, allocations: 31.42 kB / 418.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.01364, allocations: 334.3 kB / 419.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.01378, allocations: 73.11 kB / 419.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.01388, allocations: 70.8 kB / 419.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.01412, allocations: 172.5 kB / 419.4 MB, free: 9.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01413, allocations: 4 kB / 419.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003264/0.01445, allocations: 226.9 kB / 419.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.01448, allocations: 5.594 kB / 419.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.01449, allocations: 0 / 419.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.01452, allocations: 1.562 kB / 419.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.0148, allocations: 46.67 kB / 419.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.01481, allocations: 1.094 kB / 419.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.01498, allocations: 40.27 kB / 419.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01499, allocations: 7.375 kB / 419.7 MB, free: 9.641 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001265/0.01512, allocations: 141.8 kB / 419.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.01515, allocations: 20.88 kB / 419.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.01522, allocations: 25.77 kB / 419.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01523, allocations: 1.734 kB / 419.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.01524, allocations: 2.906 kB / 419.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01525, allocations: 0.7031 kB / 419.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.01555, allocations: 249.5 kB / 420.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01556, allocations: 0 / 420.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.01571, allocations: 29.14 kB / 420.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01571, allocations: 0 / 420.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.01573, allocations: 7.891 kB / 420.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01573, allocations: 2.375 kB / 420.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01574, allocations: 0 / 420.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.01621, allocations: 382.4 kB / 420.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.01626, allocations: 28.62 kB / 420.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.01628, allocations: 3.375 kB / 420.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.01645, allocations: 32.97 kB / 420.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.01652, allocations: 11.81 kB / 420.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.01652, allocations: 3.938 kB / 420.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000351/0.01688, allocations: 230.1 kB / 420.9 MB, free: 8.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01688, allocations: 0 / 420.9 MB, free: 8.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.01712, allocations: 27.84 kB / 420.9 MB, free: 8.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006458/0.01777, allocations: 0.9208 MB / 421.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.01811, allocations: 161.8 kB / 422 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.01811, allocations: 1.156 kB / 422 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.01822, allocations: 74.95 kB / 422.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.01857, allocations: 28.34 kB / 422.1 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.02202, allocations: 2.604 MB / 424.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.02214, allocations: 141.2 kB / 424.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.02226, allocations: 38.12 kB / 424.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.02235, allocations: 62.59 kB / 424.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.02235, allocations: 0 / 424.9 MB, free: 6.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.04487, allocations: 5.111 MB / 430 MB, free: 4.914 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.942, allocations: 6.594 kB / 430 MB, free: 4.91 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.809868237935007] Failed to read output from testmodel.py, exit status != 0: 7.1815586276352406 7.040934838 7.03034497 Calling exit ...