Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001778/0.001779, allocations: 122.1 kB / 18.46 MB, free: 4.566 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.002073/0.002073, allocations: 215.3 kB / 21.41 MB, free: 1.617 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.434/1.434, allocations: 227.7 MB / 251.9 MB, free: 15.84 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.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",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.001926/0.001926, allocations: 67.84 kB / 365.2 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09863, allocations: 50.55 MB / 415.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00402/0.1027, allocations: 2.802 MB / 418.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1039, allocations: 0.6777 MB / 419.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.104, allocations: 4 kB / 419.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1042, allocations: 55.5 kB / 419.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1044, allocations: 83.25 kB / 419.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1047, allocations: 87.83 kB / 419.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.1051, allocations: 382.5 kB / 419.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1053, allocations: 118.9 kB / 420 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1055, allocations: 151.4 kB / 420.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1057, allocations: 163.3 kB / 420.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.1058, allocations: 36 kB / 420.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.1058, allocations: 32 kB / 420.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.1059, allocations: 71.7 kB / 420.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1061, allocations: 159.2 kB / 420.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1065, allocations: 378.5 kB / 421 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1065, allocations: 0 / 421 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1065, allocations: 4 kB / 421 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1066, allocations: 0 / 421 MB, free: 8.379 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001296/0.1079, allocations: 0.6651 MB / 421.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1079, allocations: 11.97 kB / 421.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.646e-05/0.108, allocations: 62.66 kB / 421.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.108, allocations: 36.7 kB / 421.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1084, allocations: 268.9 kB / 422 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1085, allocations: 20.94 kB / 422 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.1085, allocations: 24.38 kB / 422 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.1092, allocations: 311.4 kB / 422.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1092, allocations: 0 / 422.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.1093, allocations: 12 kB / 422.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1093, allocations: 4 kB / 422.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008106/0.1101, allocations: 249.6 kB / 422.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.1118, allocations: 1.09 MB / 423.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.1127, allocations: 218.5 kB / 423.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.113, allocations: 96.78 kB / 424 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1131, allocations: 7.984 kB / 424 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.1135, allocations: 165.8 kB / 424.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1135, allocations: 0 / 424.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002197/0.1157, allocations: 0.5029 MB / 424.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.1158, allocations: 110.8 kB / 424.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1162, allocations: 286.6 kB / 425.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.1162, allocations: 29.7 kB / 425.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1164, allocations: 203.9 kB / 425.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1164, allocations: 43.67 kB / 425.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.1165, allocations: 53.89 kB / 425.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1167, allocations: 334.8 kB / 425.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.117, allocations: 92.09 kB / 425.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.1175, allocations: 208.4 kB / 426 MB, free: 2.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.1182, allocations: 305.4 kB / 426.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1182, allocations: 4 kB / 426.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001249/0.1195, allocations: 422.2 kB / 426.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.1195, allocations: 41.75 kB / 426.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1196, allocations: 7.938 kB / 426.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.1199, allocations: 68.81 kB / 426.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1201, allocations: 47.89 kB / 426.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.1226, allocations: 1.708 MB / 428.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.123, allocations: 51.86 kB / 428.6 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.123, allocations: 16 kB / 428.7 MB, free: 92 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.1232, allocations: 149.7 kB / 428.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1233, allocations: 27.81 kB / 428.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.1233, allocations: 29.66 kB / 428.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1233, allocations: 0 / 428.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1233, allocations: 0 / 428.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1233, allocations: 0 / 428.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.1237, allocations: 301.4 kB / 429.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1237, allocations: 4 kB / 429.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1238, allocations: 19.97 kB / 429.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.1241, allocations: 60.81 kB / 429.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1241, allocations: 19.92 kB / 429.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.1264, allocations: 1.708 MB / 431 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1264, allocations: 0 / 431 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1275, allocations: 310 kB / 431.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.1276, allocations: 112.9 kB / 431.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1277, allocations: 8 kB / 431.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.1279, allocations: 27.95 kB / 431.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.128, allocations: 27.91 kB / 431.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1281, allocations: 7.938 kB / 431.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.1283, allocations: 202 kB / 431.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1283, allocations: 0 / 431.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.1286, allocations: 79.89 kB / 431.7 MB, free: 12.78 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/0.1301, allocations: 0.8574 MB / 432.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1312, allocations: 409.8 kB / 433 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1312, allocations: 0 / 433 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.1317, allocations: 231.3 kB / 433.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1321, allocations: 40.81 kB / 433.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.1374, allocations: 3.003 MB / 436.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1379, allocations: 0.7558 MB / 437 MB, free: 7.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.138, allocations: 30.27 kB / 437 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1382, allocations: 75.42 kB / 437.1 MB, free: 7.129 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1382, allocations: 3.938 kB / 437.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.1708, allocations: 6.825 MB / 443.9 MB, free: 488 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.7, allocations: 3.625 kB / 443.9 MB, free: 488 kB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.335479311994277] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 12.01446937106084 12.02626237 11.917541944 Calling exit ...