Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001398/0.001398, allocations: 109.8 kB / 16.41 MB, free: 6.512 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.00127/0.00127, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.442/1.442, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.098/1.098, allocations: 173.4 MB / 470.7 MB, free: 13.6 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00308/0.00308, allocations: 63.39 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2101, allocations: 89.52 MB / 0.7353 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008023/0.2182, allocations: 5.523 MB / 0.7407 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005139/0.2234, allocations: 2.654 MB / 0.7432 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007332/0.2242, allocations: 23.81 kB / 0.7433 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.2263, allocations: 0.68 MB / 0.7439 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.2276, allocations: 413.7 kB / 0.7443 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.2289, allocations: 407 kB / 0.7447 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.2304, allocations: 0.9475 MB / 0.7456 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007724/0.2312, allocations: 478.4 kB / 0.7461 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.2319, allocations: 366.6 kB / 0.7464 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.2326, allocations: 406.4 kB / 0.7468 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.2328, allocations: 48 kB / 0.7469 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007761/0.2335, allocations: 367.3 kB / 0.7472 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.2339, allocations: 247.3 kB / 0.7475 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.2343, allocations: 346.2 kB / 0.7478 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.2358, allocations: 0.9883 MB / 0.7488 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2358, allocations: 0 / 0.7488 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2358, allocations: 0 / 0.7488 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.2358, allocations: 0 / 0.7488 GB, free: 4.359 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001841/0.2377, allocations: 1 MB / 0.7497 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2377, allocations: 12.02 kB / 0.7497 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.2379, allocations: 94.7 kB / 0.7498 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.2392, allocations: 192.3 kB / 0.75 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.2402, allocations: 0.534 MB / 0.7505 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.2403, allocations: 37.38 kB / 0.7506 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2404, allocations: 60.48 kB / 0.7506 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.2418, allocations: 0.8316 MB / 0.7514 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.2419, allocations: 11.94 kB / 0.7515 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.242, allocations: 20 kB / 0.7515 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.2422, allocations: 60.95 kB / 0.7515 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.2431, allocations: 0.5736 MB / 0.7521 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3506/0.5937, allocations: 4.567 MB / 0.7566 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.5943, allocations: 297.5 kB / 0.7568 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.5946, allocations: 229.8 kB / 0.7571 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.5946, allocations: 7.531 kB / 0.7571 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.5947, allocations: 36.78 kB / 0.7571 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.5947, allocations: 0 / 0.7571 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005769/0.6005, allocations: 2.644 MB / 0.7597 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.6005, allocations: 55.25 kB / 0.7597 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.6011, allocations: 460.8 kB / 0.7602 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.6012, allocations: 32.77 kB / 0.7602 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6014, allocations: 354.6 kB / 0.7605 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.6015, allocations: 146.2 kB / 0.7607 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.6017, allocations: 108.9 kB / 0.7608 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.6018, allocations: 366.8 kB / 0.7611 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.6021, allocations: 238.2 kB / 0.7614 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.6026, allocations: 405.6 kB / 0.7618 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/0.6034, allocations: 0.6833 MB / 0.7624 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6034, allocations: 1.875 kB / 0.7624 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001735/0.6051, allocations: 0.9274 MB / 0.7633 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6052, allocations: 5.438 kB / 0.7633 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6052, allocations: 4.938 kB / 0.7633 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008195/0.606, allocations: 226.4 kB / 0.7636 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.6065, allocations: 119.9 kB / 0.7637 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.6107, allocations: 5.336 MB / 0.7689 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.6112, allocations: 33.84 kB / 0.7689 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.6113, allocations: 24.27 kB / 0.7689 GB, free: 8.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003411/0.6117, allocations: 223 kB / 0.7691 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.6118, allocations: 61.66 kB / 0.7692 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.6133, allocations: 0.7742 MB / 0.77 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6133, allocations: 5.156 kB / 0.77 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.6133, allocations: 7.281 kB / 0.77 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6133, allocations: 3.359 kB / 0.77 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.6157, allocations: 1.493 MB / 0.7714 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6157, allocations: 1.5 kB / 0.7714 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.6161, allocations: 78.22 kB / 0.7715 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/0.6168, allocations: 202.5 kB / 0.7717 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.6168, allocations: 10.69 kB / 0.7717 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.6209, allocations: 5.277 MB / 0.7769 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6209, allocations: 5.656 kB / 0.7769 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.6226, allocations: 1.135 MB / 0.778 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.6229, allocations: 172.4 kB / 0.7781 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.623, allocations: 16.84 kB / 0.7782 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.6234, allocations: 23.75 kB / 0.7782 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6235, allocations: 42.2 kB / 0.7782 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.6236, allocations: 10.66 kB / 0.7782 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003931/0.624, allocations: 315.6 kB / 0.7785 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.233e-06/0.624, allocations: 0 / 0.7785 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008481/0.6248, allocations: 169.6 kB / 0.7787 GB, free: 3.281 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.002161/0.627, allocations: 1.7 MB / 0.7804 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.6289, allocations: 1.009 MB / 0.7813 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.629, allocations: 4.875 kB / 0.7813 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.63, allocations: 0.6845 MB / 0.782 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6312, allocations: 179.1 kB / 0.7822 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.6417, allocations: 5.652 MB / 0.7877 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/0.6427, allocations: 0.9607 MB / 0.7886 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005267/0.6432, allocations: 119.3 kB / 0.7888 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.6437, allocations: 211.5 kB / 0.789 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/0.6437, allocations: 0 / 0.789 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05492/0.6986, allocations: 14.17 MB / 0.8028 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.86, allocations: 17.89 kB / 0.8028 GB, free: 9.348 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.838153257034719] Failed to read output from testmodel.py, exit status != 0: 11.953150277025998 11.96569823 11.727453091 Calling exit ...