Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.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.00141/0.001409, allocations: 110.1 kB / 16.4 MB, free: 6.504 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.001441/0.001441, allocations: 192.5 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.506/1.506, 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.062/1.062, allocations: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.1 MB " [Timeout remaining time 179] 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.55 kB / 0.6478 GB, free: 11.7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2017, allocations: 89.51 MB / 0.7353 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008593/0.2103, allocations: 5.459 MB / 0.7406 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004803/0.2152, allocations: 2.634 MB / 0.7432 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004967/0.2157, allocations: 19.88 kB / 0.7432 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.2177, allocations: 0.6729 MB / 0.7438 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.2189, allocations: 409.7 kB / 0.7442 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2199, allocations: 393.9 kB / 0.7446 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.2213, allocations: 0.9553 MB / 0.7455 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.222, allocations: 454.6 kB / 0.746 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.2226, allocations: 374.5 kB / 0.7463 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.2233, allocations: 406.5 kB / 0.7467 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2234, allocations: 48 kB / 0.7468 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.2242, allocations: 367.2 kB / 0.7471 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.2245, allocations: 251.3 kB / 0.7473 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.225, allocations: 338.3 kB / 0.7477 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.2264, allocations: 0.9844 MB / 0.7486 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2264, allocations: 0 / 0.7486 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2264, allocations: 0 / 0.7486 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.288e-05/0.2265, allocations: 0 / 0.7486 GB, free: 4.438 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.001999/0.2285, allocations: 1 MB / 0.7496 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2285, allocations: 8.031 kB / 0.7496 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.2287, allocations: 110.7 kB / 0.7497 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.2302, allocations: 192.3 kB / 0.7499 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.2312, allocations: 0.5184 MB / 0.7504 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.2312, allocations: 37.36 kB / 0.7504 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.2314, allocations: 48.56 kB / 0.7505 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.2329, allocations: 0.8355 MB / 0.7513 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.2329, allocations: 11.89 kB / 0.7513 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.233, allocations: 27.98 kB / 0.7513 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/0.2333, allocations: 64.95 kB / 0.7514 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2344, allocations: 0.5736 MB / 0.752 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3634/0.5978, allocations: 4.556 MB / 0.7564 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.5983, allocations: 296.8 kB / 0.7567 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.5986, allocations: 223.7 kB / 0.7569 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.5986, allocations: 8.125 kB / 0.7569 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5987, allocations: 37.53 kB / 0.757 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.5987, allocations: 0 / 0.757 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.005374/0.6041, allocations: 2.64 MB / 0.7595 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.6041, allocations: 59.59 kB / 0.7596 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.6047, allocations: 451.9 kB / 0.76 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.6047, allocations: 35.42 kB / 0.7601 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.6049, allocations: 347.9 kB / 0.7604 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.605, allocations: 152 kB / 0.7605 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.6051, allocations: 105.4 kB / 0.7606 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.6052, allocations: 371.1 kB / 0.761 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.6056, allocations: 234.4 kB / 0.7612 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.606, allocations: 408.5 kB / 0.7616 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.6068, allocations: 0.6802 MB / 0.7623 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6068, allocations: 2.188 kB / 0.7623 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001563/0.6084, allocations: 0.9229 MB / 0.7632 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6084, allocations: 8.5 kB / 0.7632 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6084, allocations: 3.422 kB / 0.7632 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.6092, allocations: 225.7 kB / 0.7634 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.6097, allocations: 118.4 kB / 0.7635 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.6141, allocations: 5.344 MB / 0.7687 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.6147, allocations: 28.22 kB / 0.7688 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.6147, allocations: 32.16 kB / 0.7688 GB, free: 8.602 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.0003394/0.6151, allocations: 217.7 kB / 0.769 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.6152, allocations: 57.11 kB / 0.769 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.6167, allocations: 0.7716 MB / 0.7698 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6167, allocations: 3.281 kB / 0.7698 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6167, allocations: 6.5 kB / 0.7698 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6167, allocations: 2.297 kB / 0.7698 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.6195, allocations: 1.498 MB / 0.7713 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6195, allocations: 1.172 kB / 0.7713 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.6199, allocations: 67.36 kB / 0.7713 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006935/0.6206, allocations: 208.1 kB / 0.7715 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.6206, allocations: 12 kB / 0.7716 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/0.6247, allocations: 5.277 MB / 0.7767 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6248, allocations: 6.156 kB / 0.7767 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.6267, allocations: 1.137 MB / 0.7778 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.627, allocations: 172.9 kB / 0.778 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.6271, allocations: 9.703 kB / 0.778 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.6274, allocations: 27.77 kB / 0.778 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.6276, allocations: 38.91 kB / 0.7781 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.6276, allocations: 18.89 kB / 0.7781 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004032/0.628, allocations: 311.6 kB / 0.7784 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.628, allocations: 0 / 0.7784 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008683/0.6289, allocations: 167.7 kB / 0.7785 GB, free: 3.328 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.002362/0.6313, allocations: 1.698 MB / 0.7802 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.6334, allocations: 1.013 MB / 0.7812 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.6334, allocations: 0.75 kB / 0.7812 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6346, allocations: 0.6832 MB / 0.7818 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.6359, allocations: 177.2 kB / 0.782 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/0.6457, allocations: 5.652 MB / 0.7875 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.6464, allocations: 0.9469 MB / 0.7885 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004603/0.6469, allocations: 118.1 kB / 0.7886 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.6472, allocations: 209.5 kB / 0.7888 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/0.6472, allocations: 1.344 kB / 0.7888 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05198/0.6992, allocations: 14.09 MB / 0.8025 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.94, allocations: 5.922 kB / 0.8025 GB, free: 9.555 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.889080287888646] Failed to read output from testmodel.py, exit status != 0: 12.061722671147436 12.079707171 11.850794952 Calling exit ...