Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.001717/0.001717, allocations: 103.9 kB / 16.39 MB, free: 6.371 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.001983/0.001983, allocations: 192.6 kB / 19.35 MB, free: 3.836 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.481/1.481, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.107/1.107, allocations: 173.4 MB / 470.7 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 178] 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.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 72.62 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2251, allocations: 89.53 MB / 0.7352 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00722/0.2324, allocations: 4.342 MB / 0.7395 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003508/0.236, allocations: 1.866 MB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.2364, allocations: 8 kB / 0.7413 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.2383, allocations: 0.5915 MB / 0.7419 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008397/0.2392, allocations: 266.6 kB / 0.7421 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.24, allocations: 254.3 kB / 0.7424 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.241, allocations: 0.6151 MB / 0.743 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.2419, allocations: 458.8 kB / 0.7434 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.2423, allocations: 247.1 kB / 0.7437 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.243, allocations: 271 kB / 0.7439 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.2431, allocations: 40 kB / 0.7439 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.2437, allocations: 259.4 kB / 0.7442 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.2439, allocations: 151.5 kB / 0.7443 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.2443, allocations: 215 kB / 0.7445 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2454, allocations: 0.6188 MB / 0.7452 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2454, allocations: 0 / 0.7452 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2454, allocations: 0 / 0.7452 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.635e-05/0.2455, allocations: 0 / 0.7452 GB, free: 8.043 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00195/0.2474, allocations: 0.7363 MB / 0.7459 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.2475, allocations: 8.031 kB / 0.7459 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.2476, allocations: 78.7 kB / 0.746 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2488, allocations: 148.5 kB / 0.7461 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.2495, allocations: 346.6 kB / 0.7464 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.2495, allocations: 25.36 kB / 0.7464 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.2496, allocations: 36.38 kB / 0.7465 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2506, allocations: 0.5355 MB / 0.747 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.2506, allocations: 0 / 0.747 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.2507, allocations: 12 kB / 0.747 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/0.2508, allocations: 32.64 kB / 0.747 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.2515, allocations: 394.2 kB / 0.7474 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.2546, allocations: 2.396 MB / 0.7498 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.2553, allocations: 262.5 kB / 0.75 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.2555, allocations: 114.8 kB / 0.7501 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.2555, allocations: 0 / 0.7501 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.2556, allocations: 42.56 kB / 0.7502 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.2556, allocations: 0 / 0.7502 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002577/0.2582, allocations: 1.131 MB / 0.7513 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2582, allocations: 55.41 kB / 0.7513 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.2586, allocations: 312.4 kB / 0.7516 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.2587, allocations: 29.7 kB / 0.7516 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2589, allocations: 236.1 kB / 0.7519 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.259, allocations: 79.33 kB / 0.7519 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2591, allocations: 65.98 kB / 0.752 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2593, allocations: 342.8 kB / 0.7523 GB, free: 168 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.2595, allocations: 96.61 kB / 0.7524 GB, free: 72 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3458/0.6053, allocations: 188 kB / 0.7526 GB, free: 18.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.6058, allocations: 326.9 kB / 0.7529 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6058, allocations: 2.344 kB / 0.7529 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000864/0.6067, allocations: 440.5 kB / 0.7533 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6067, allocations: 6.75 kB / 0.7534 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.6067, allocations: 5.219 kB / 0.7534 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.6071, allocations: 96.45 kB / 0.7534 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.6074, allocations: 62.38 kB / 0.7535 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.6099, allocations: 4.4 MB / 0.7578 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.6101, allocations: 11.44 kB / 0.7578 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.6101, allocations: 10.5 kB / 0.7578 GB, free: 14.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.6103, allocations: 185.1 kB / 0.758 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.6104, allocations: 29.02 kB / 0.758 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/0.6105, allocations: 44.89 kB / 0.7581 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6105, allocations: 2.156 kB / 0.7581 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6105, allocations: 3.094 kB / 0.7581 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6105, allocations: 3.984 kB / 0.7581 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.6109, allocations: 395.5 kB / 0.7585 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6109, allocations: 1.438 kB / 0.7585 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.6111, allocations: 40.17 kB / 0.7585 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.6114, allocations: 91.69 kB / 0.7586 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6114, allocations: 12.44 kB / 0.7586 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.6136, allocations: 4.389 MB / 0.7629 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6136, allocations: 0 / 0.7629 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.6143, allocations: 0.5632 MB / 0.7634 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6144, allocations: 123.4 kB / 0.7636 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.6145, allocations: 9.812 kB / 0.7636 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6147, allocations: 11.55 kB / 0.7636 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.6147, allocations: 21.03 kB / 0.7636 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.6148, allocations: 8.688 kB / 0.7636 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001885/0.6149, allocations: 208.7 kB / 0.7638 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.615, allocations: 0.9375 kB / 0.7638 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004831/0.6154, allocations: 94.75 kB / 0.7639 GB, free: 9.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009218/0.6164, allocations: 1.102 MB / 0.765 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007863/0.6172, allocations: 0.6028 MB / 0.7656 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6172, allocations: 1.125 kB / 0.7656 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.6176, allocations: 482.8 kB / 0.766 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.6181, allocations: 70.52 kB / 0.7661 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.6217, allocations: 3.373 MB / 0.7694 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.622, allocations: 0.8301 MB / 0.7702 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000201/0.6222, allocations: 57.64 kB / 0.7702 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.6224, allocations: 120.8 kB / 0.7704 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6224, allocations: 0 / 0.7704 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/0.6646, allocations: 7.775 MB / 0.778 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.91, allocations: 9.031 kB / 0.778 GB, free: 4.938 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_RCModel.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.865977654233575] Failed to read output from testmodel.py, exit status != 0: 10.995587482117116 11.011652509 10.764046077 Calling exit ...