Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001903/0.001903, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 64.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2613, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003475/0.2648, allocations: 2.175 MB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2659, allocations: 0.6311 MB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.266, allocations: 4 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.2661, allocations: 19.78 kB / 434.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/0.2662, allocations: 51.56 kB / 434.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.2665, allocations: 47.89 kB / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2667, allocations: 159.2 kB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2669, allocations: 41.66 kB / 435 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.267, allocations: 67.72 kB / 435.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2671, allocations: 71.69 kB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.2672, allocations: 16 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.2673, allocations: 20 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.2673, allocations: 27.92 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.2674, allocations: 71.66 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.2676, allocations: 172.1 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2676, allocations: 0 / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2676, allocations: 4 kB / 435.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2676, allocations: 0 / 435.5 MB, free: 3.293 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006254/0.2683, allocations: 369.8 kB / 435.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2683, allocations: 15.97 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.2684, allocations: 46.73 kB / 435.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2685, allocations: 28.83 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2688, allocations: 150.4 kB / 436.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2688, allocations: 4.609 kB / 436.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2688, allocations: 16.31 kB / 436.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.2691, allocations: 123.6 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2691, allocations: 0 / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.2691, allocations: 8 kB / 436.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2691, allocations: 4 kB / 436.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.2693, allocations: 80.66 kB / 436.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.2701, allocations: 0.5697 MB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.2704, allocations: 78.62 kB / 437 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.2705, allocations: 32.97 kB / 437 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.2705, allocations: 0 / 437 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2705, allocations: 34.56 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.2705, allocations: 7.984 kB / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006501/0.2712, allocations: 178.3 kB / 437.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2712, allocations: 51.41 kB / 437.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2714, allocations: 159.7 kB / 437.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2714, allocations: 25.7 kB / 437.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.2715, allocations: 120.2 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2715, allocations: 23.78 kB / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.2715, allocations: 25.72 kB / 437.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2717, allocations: 322.8 kB / 437.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.2717, allocations: 23.92 kB / 437.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.2718, allocations: 46.56 kB / 438 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.272, allocations: 74.48 kB / 438.1 MB, free: 488 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.272, allocations: 4 kB / 438.1 MB, free: 484 kB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002762/0.2722, allocations: 138.3 kB / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2723, allocations: 4 kB / 438.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2723, allocations: 0 / 438.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.2725, allocations: 44.89 kB / 438.3 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.157e-05/0.2725, allocations: 8.234 kB / 438.3 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.2741, allocations: 1.588 MB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.2741, allocations: 7.953 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2741, allocations: 0 / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.2743, allocations: 133.8 kB / 440 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.2743, allocations: 7.953 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.2743, allocations: 12.72 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2743, allocations: 0 / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2743, allocations: 3.984 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2743, allocations: 0 / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.2745, allocations: 188.6 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2745, allocations: 0 / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.2746, allocations: 4 kB / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.2747, allocations: 40.83 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2747, allocations: 4.062 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.276, allocations: 1.582 MB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.276, allocations: 3.984 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.2764, allocations: 212.2 kB / 442 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.2764, allocations: 8.016 kB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2764, allocations: 8 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.2765, allocations: 7.984 kB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.2765, allocations: 7.984 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.2765, allocations: 0 / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.761e-05/0.2766, allocations: 122.1 kB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2766, allocations: 0 / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.2769, allocations: 43.89 kB / 442.2 MB, free: 12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005941/0.2775, allocations: 0.7407 MB / 443 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.2779, allocations: 194.8 kB / 443.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2779, allocations: 4 kB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.2781, allocations: 154.7 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2784, allocations: 14.59 kB / 443.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.2803, allocations: 1.726 MB / 445.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2807, allocations: 0.708 MB / 445.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.2807, allocations: 12.36 kB / 445.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.2807, allocations: 27.42 kB / 445.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2807, allocations: 0 / 445.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3093, allocations: 3.119 MB / 448.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.37, allocations: 3.156 kB / 448.9 MB, free: 5.246 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Resistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.791230790317059] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.i', 'resistor.LossPower'] 11.465295225847512 11.480819041 11.210219803 Calling exit ...