Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001773/0.001773, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002188/0.002188, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.428/1.428, allocations: 230.5 MB / 254.8 MB, free: 15.24 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.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",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.001916/0.001916, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1036, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004621/0.1082, allocations: 3.209 MB / 430.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1097, allocations: 0.8258 MB / 431.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1099, allocations: 7.938 kB / 431.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.11, allocations: 63.42 kB / 431.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1103, allocations: 111 kB / 431.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1106, allocations: 131.8 kB / 431.4 MB, free: 424 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005145/0.1111, allocations: 454.2 kB / 431.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.1114, allocations: 107.8 kB / 431.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.1117, allocations: 183.3 kB / 432.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1119, allocations: 179.2 kB / 432.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.1119, allocations: 44 kB / 432.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-05/0.112, allocations: 44 kB / 432.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.1121, allocations: 91.69 kB / 432.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1123, allocations: 199.1 kB / 432.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.1129, allocations: 0.5058 MB / 433.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1129, allocations: 0 / 433.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1129, allocations: 0 / 433.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1129, allocations: 4 kB / 433.2 MB, free: 14.62 MB / 366.1 MB 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.001117/0.114, allocations: 0.6739 MB / 433.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.114, allocations: 8.031 kB / 433.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.1142, allocations: 70.72 kB / 433.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1143, allocations: 48.69 kB / 434 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1148, allocations: 307.7 kB / 434.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1148, allocations: 25.03 kB / 434.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.1148, allocations: 28.38 kB / 434.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.1155, allocations: 357.2 kB / 434.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1155, allocations: 3.984 kB / 434.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.1156, allocations: 12 kB / 434.7 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1156, allocations: 11.94 kB / 434.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.1162, allocations: 274.4 kB / 435 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1182, allocations: 1.264 MB / 436.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.1188, allocations: 279.9 kB / 436.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.119, allocations: 88.81 kB / 436.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.119, allocations: 0 / 436.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1191, allocations: 38.5 kB / 436.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.1191, allocations: 0 / 436.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.002202/0.1213, allocations: 0.6417 MB / 437.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1213, allocations: 51.41 kB / 437.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.1217, allocations: 303 kB / 437.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1217, allocations: 25.7 kB / 437.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1219, allocations: 224.3 kB / 437.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.122, allocations: 59.52 kB / 437.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.1221, allocations: 53.59 kB / 438 MB, free: 9.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1222, allocations: 338.8 kB / 438.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.1224, allocations: 75.95 kB / 438.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.1227, allocations: 170.2 kB / 438.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.1232, allocations: 244.2 kB / 438.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1232, allocations: 0 / 438.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001046/0.1243, allocations: 402.1 kB / 439.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1243, allocations: 11.94 kB / 439.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1243, allocations: 4 kB / 439.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.1247, allocations: 100.8 kB / 439.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1249, allocations: 39.92 kB / 439.3 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.1282, allocations: 2.194 MB / 441.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.1285, allocations: 35.78 kB / 441.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1285, allocations: 12 kB / 441.6 MB, free: 5.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.1287, allocations: 153.8 kB / 441.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.1287, allocations: 23.86 kB / 441.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.1288, allocations: 29.91 kB / 441.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1288, allocations: 7.875 kB / 441.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1288, allocations: 7.938 kB / 441.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1288, allocations: 0 / 441.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.1301, allocations: 0.7178 MB / 442.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1301, allocations: 0 / 442.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.1302, allocations: 15.98 kB / 442.5 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.1305, allocations: 100.7 kB / 442.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1305, allocations: 8 kB / 442.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.1334, allocations: 2.154 MB / 444.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1334, allocations: 0 / 444.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.1343, allocations: 414.5 kB / 445.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.1344, allocations: 108.9 kB / 445.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1344, allocations: 3.938 kB / 445.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1347, allocations: 23.98 kB / 445.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1347, allocations: 11.92 kB / 445.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1347, allocations: 7.984 kB / 445.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.135, allocations: 218 kB / 445.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.135, allocations: 0 / 445.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1354, allocations: 91.83 kB / 445.6 MB, free: 1.383 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 (8): * Single equations (assignments): 7 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.1367, allocations: 0.942 MB / 446.6 MB, free: 420 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007358/0.1374, allocations: 330.8 kB / 446.9 MB, free: 76 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.1374, allocations: 8.188 kB / 446.9 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1759/0.3133, allocations: 219.5 kB / 447.1 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.3138, allocations: 39.78 kB / 447.2 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.3182, allocations: 3.15 MB / 450.3 MB, free: 22.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3184, allocations: 0.771 MB / 451.1 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3185, allocations: 24.17 kB / 451.1 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.933e-05/0.3186, allocations: 96.59 kB / 451.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3186, allocations: 1.125 kB / 451.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.3541, allocations: 6.674 MB / 457.9 MB, free: 20.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.96, allocations: 13.48 kB / 457.9 MB, free: 20.98 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_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_OpAmps_Adder.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.511227449867874] Failed to read output from testmodel.py, exit status != 0: ['time', 'vOut.v'] 12.056964574381709 12.073376989 11.957474103 Calling exit ...