Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001291/0.001291, allocations: 109.2 kB / 16.46 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.001336/0.001336, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.096/1.096, allocations: 175.8 MB / 478.4 MB, free: 8.492 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.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 64.52 kB / 0.6652 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2094, allocations: 94.54 MB / 0.7575 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.3699/0.5793, allocations: 3.871 MB / 0.7613 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.5819, allocations: 1.749 MB / 0.763 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.5821, allocations: 12.72 kB / 0.763 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.5834, allocations: 0.4888 MB / 0.7635 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.584, allocations: 226.1 kB / 0.7637 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.5846, allocations: 211.5 kB / 0.7639 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.5851, allocations: 473 kB / 0.7643 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.5856, allocations: 293.2 kB / 0.7646 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.5858, allocations: 202.3 kB / 0.7648 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.5862, allocations: 227.8 kB / 0.765 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.5863, allocations: 32.75 kB / 0.7651 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.5867, allocations: 250.9 kB / 0.7653 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.5868, allocations: 129.3 kB / 0.7654 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.587, allocations: 169.6 kB / 0.7656 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000563/0.5875, allocations: 0.4981 MB / 0.7661 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5875, allocations: 4.016 kB / 0.7661 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5875, allocations: 0 / 0.7661 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.5876, allocations: 1.562 kB / 0.7661 GB, free: 6.027 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009519/0.5885, allocations: 0.6451 MB / 0.7667 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5886, allocations: 9.25 kB / 0.7667 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.5886, allocations: 68.91 kB / 0.7668 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008723/0.5895, allocations: 136 kB / 0.7669 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.5899, allocations: 300.2 kB / 0.7672 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5899, allocations: 20.25 kB / 0.7672 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.59, allocations: 27.31 kB / 0.7673 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.5906, allocations: 472.2 kB / 0.7677 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5906, allocations: 1.125 kB / 0.7677 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.5906, allocations: 12.77 kB / 0.7677 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.5907, allocations: 32.67 kB / 0.7677 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.5911, allocations: 323.8 kB / 0.7681 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.5928, allocations: 2.189 MB / 0.7702 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.5932, allocations: 234.9 kB / 0.7704 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.5934, allocations: 98.73 kB / 0.7705 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.5934, allocations: 5.281 kB / 0.7705 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.5934, allocations: 32.41 kB / 0.7705 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.5934, allocations: 4.75 kB / 0.7706 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005608/0.594, allocations: 296.7 kB / 0.7708 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.594, allocations: 54.28 kB / 0.7709 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.5943, allocations: 276 kB / 0.7711 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.5943, allocations: 26.64 kB / 0.7712 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.5944, allocations: 204.2 kB / 0.7714 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.5944, allocations: 59.64 kB / 0.7714 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.5945, allocations: 50.02 kB / 0.7715 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.5945, allocations: 335.7 kB / 0.7718 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.5946, allocations: 59.03 kB / 0.7719 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5948, allocations: 149.5 kB / 0.772 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.595, allocations: 222.6 kB / 0.7722 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.595, allocations: 2.469 kB / 0.7722 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004218/0.5954, allocations: 263.4 kB / 0.7725 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5954, allocations: 6.75 kB / 0.7725 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5955, allocations: 7.672 kB / 0.7725 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.5956, allocations: 30.3 kB / 0.7725 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.5958, allocations: 48.08 kB / 0.7725 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.597, allocations: 1.424 MB / 0.7739 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.5972, allocations: 28.83 kB / 0.774 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.5972, allocations: 8.406 kB / 0.774 GB, free: 15.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.5974, allocations: 174.1 kB / 0.7741 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.5974, allocations: 24.44 kB / 0.7742 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.5975, allocations: 27.03 kB / 0.7742 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5975, allocations: 2.453 kB / 0.7742 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5975, allocations: 1.344 kB / 0.7742 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5975, allocations: 0.6094 kB / 0.7742 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009162/0.5984, allocations: 0.6996 MB / 0.7749 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5984, allocations: 3.75 kB / 0.7749 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.5985, allocations: 25.88 kB / 0.7749 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.746e-05/0.5986, allocations: 26.77 kB / 0.7749 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5986, allocations: 9.25 kB / 0.7749 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.5998, allocations: 1.416 MB / 0.7763 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5998, allocations: 3.469 kB / 0.7763 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.6002, allocations: 319.8 kB / 0.7766 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6003, allocations: 113.7 kB / 0.7767 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.6003, allocations: 4.625 kB / 0.7767 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6005, allocations: 10.98 kB / 0.7768 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.6005, allocations: 18.05 kB / 0.7768 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.6005, allocations: 9.562 kB / 0.7768 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002137/0.6007, allocations: 190.1 kB / 0.777 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6007, allocations: 0 / 0.777 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004275/0.6012, allocations: 80.67 kB / 0.777 GB, free: 12.97 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007439/0.6019, allocations: 0.8518 MB / 0.7779 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.6024, allocations: 273.8 kB / 0.7781 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6024, allocations: 2.406 kB / 0.7781 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.6027, allocations: 176.5 kB / 0.7783 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.6031, allocations: 66.2 kB / 0.7784 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.6066, allocations: 2.714 MB / 0.781 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.607, allocations: 0.7956 MB / 0.7818 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000158/0.6072, allocations: 46.86 kB / 0.7818 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6073, allocations: 77.64 kB / 0.7819 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6073, allocations: 3.938 kB / 0.7819 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.642, allocations: 5.419 MB / 0.7872 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.68, allocations: 13.25 kB / 0.7872 GB, free: 8.43 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_DC_Loads_Examples_Resistor.fmu > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.549506423994899] Failed to read output from testmodel.py, exit status != 0: 10.763608038891107 10.779209109 10.188442088 Calling exit ...