Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001766/0.001766, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002034/0.002034, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.444/1.444, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",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.001902/0.001902, allocations: 71.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1099, allocations: 53.32 MB / 427 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00434/0.1142, allocations: 3.04 MB / 430.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1156, allocations: 0.7595 MB / 430.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1158, allocations: 11.94 kB / 430.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.116, allocations: 55.44 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1162, allocations: 95.12 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1165, allocations: 111.8 kB / 431.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.117, allocations: 414.1 kB / 431.5 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.1172, allocations: 75.11 kB / 431.6 MB, free: 192 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1174, allocations: 159.4 kB / 431.7 MB, free: 32 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2181/0.3356, allocations: 160.1 kB / 431.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.3357, allocations: 31.25 kB / 431.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.3359, allocations: 36.94 kB / 431.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.3359, allocations: 75.73 kB / 432 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.3361, allocations: 174.4 kB / 432.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.3367, allocations: 399.1 kB / 432.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3367, allocations: 1.266 kB / 432.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3367, allocations: 0.9688 kB / 432.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.3367, allocations: 1.406 kB / 432.6 MB, free: 7.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.000982/0.3377, allocations: 0.6374 MB / 433.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3377, allocations: 11.91 kB / 433.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.3378, allocations: 62.72 kB / 433.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.3381, allocations: 49.44 kB / 433.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.3385, allocations: 287.7 kB / 433.6 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3385, allocations: 20.03 kB / 433.6 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.3386, allocations: 29.56 kB / 433.7 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.3391, allocations: 257.1 kB / 433.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3391, allocations: 0.875 kB / 433.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.3391, allocations: 13.41 kB / 433.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3391, allocations: 8.875 kB / 433.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.3396, allocations: 213 kB / 434.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.3411, allocations: 0.9762 MB / 435.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.3416, allocations: 277.3 kB / 435.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3418, allocations: 98.09 kB / 435.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3418, allocations: 9.172 kB / 435.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3418, allocations: 38.75 kB / 435.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.3418, allocations: 1.438 kB / 435.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001245/0.3431, allocations: 0.5539 MB / 436.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.3431, allocations: 53.69 kB / 436.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3434, allocations: 265.7 kB / 436.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3434, allocations: 30.61 kB / 436.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.3435, allocations: 182.8 kB / 436.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3435, allocations: 72.62 kB / 436.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.3436, allocations: 47.69 kB / 436.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.3436, allocations: 342.1 kB / 437.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3438, allocations: 78 kB / 437.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3441, allocations: 104.4 kB / 437.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.3444, allocations: 190.3 kB / 437.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3444, allocations: 0 / 437.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006441/0.3451, allocations: 319.3 kB / 437.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3451, allocations: 5.375 kB / 437.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3451, allocations: 4.094 kB / 437.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.3454, allocations: 75.06 kB / 437.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3456, allocations: 37.02 kB / 437.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.3473, allocations: 3.059 MB / 440.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.3475, allocations: 28.05 kB / 440.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3475, allocations: 6.125 kB / 441 MB, free: 2.512 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.3477, allocations: 134.1 kB / 441.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.3477, allocations: 33.86 kB / 441.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.3478, allocations: 33.08 kB / 441.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3478, allocations: 2.812 kB / 441.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3478, allocations: 2.344 kB / 441.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3478, allocations: 8.781 kB / 441.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009881/0.3488, allocations: 0.6844 MB / 441.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3488, allocations: 1.375 kB / 441.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.3489, allocations: 27.11 kB / 441.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.3491, allocations: 72.52 kB / 441.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3491, allocations: 5.156 kB / 442 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.3513, allocations: 3.037 MB / 445 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3513, allocations: 1.828 kB / 445 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.352, allocations: 385.2 kB / 445.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.3521, allocations: 108.6 kB / 445.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.3521, allocations: 6.312 kB / 445.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.3524, allocations: 33.12 kB / 445.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3525, allocations: 16.44 kB / 445.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3525, allocations: 10.39 kB / 445.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3527, allocations: 187.8 kB / 445.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3527, allocations: 0 / 445.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000417/0.3531, allocations: 90.83 kB / 445.8 MB, free: 14.41 MB / 366.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009994/0.3541, allocations: 0.9221 MB / 446.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008654/0.3549, allocations: 435.1 kB / 447.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.355, allocations: 0 / 447.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.3554, allocations: 345.4 kB / 447.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3559, allocations: 54.27 kB / 447.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.3599, allocations: 2.712 MB / 450.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3603, allocations: 0.768 MB / 451 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3604, allocations: 26.27 kB / 451.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3605, allocations: 90.77 kB / 451.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3605, allocations: 1 kB / 451.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.3965, allocations: 6.516 MB / 457.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.757/10.15, allocations: 11.17 kB / 457.7 MB, free: 9.453 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.658541769720614] Failed to read output from testmodel.py, exit status != 0: ['time', 'VariableResistor.i', 'R2.i'] 10.24005438014865 10.265923321 9.924656935 Calling exit ...