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.NonInvertingAmplifier.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.00135/0.00135, 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.001364/0.001364, 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.443/1.443, allocations: 230.5 MB / 254.8 MB, free: 15.23 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",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: 75.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004245/0.1163, allocations: 2.958 MB / 430 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1178, allocations: 0.7674 MB / 430.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1179, allocations: 7.938 kB / 430.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.1181, allocations: 47.5 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1183, allocations: 107.2 kB / 430.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1186, allocations: 119.8 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.1191, allocations: 414.4 kB / 431.5 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1193, allocations: 95.25 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1194, allocations: 155.4 kB / 431.7 MB, free: 88 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1197, allocations: 171.3 kB / 431.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.1197, allocations: 43.94 kB / 431.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.1198, allocations: 40 kB / 431.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.1199, allocations: 79.75 kB / 432 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1201, allocations: 175.2 kB / 432.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.1205, allocations: 454.2 kB / 432.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1205, allocations: 0 / 432.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1205, allocations: 4 kB / 432.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.1206, allocations: 7.938 kB / 432.7 MB, free: 15.13 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001365/0.1219, allocations: 0.6845 MB / 433.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.122, allocations: 12.03 kB / 433.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.558e-05/0.122, allocations: 62.72 kB / 433.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.1221, allocations: 36.7 kB / 433.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.1225, allocations: 295.8 kB / 433.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.1226, allocations: 20.88 kB / 433.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.1226, allocations: 24.38 kB / 433.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.1233, allocations: 327.8 kB / 434.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1234, allocations: 0 / 434.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1234, allocations: 15.98 kB / 434.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1234, allocations: 7.938 kB / 434.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.1242, allocations: 286.1 kB / 434.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.1262, allocations: 1.139 MB / 435.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.127, allocations: 246.5 kB / 435.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.1274, allocations: 100.8 kB / 435.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1274, allocations: 0 / 435.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.1279, allocations: 185.8 kB / 436.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1279, allocations: 0 / 436.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.002498/0.1304, allocations: 0.6707 MB / 436.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.1305, allocations: 102.8 kB / 436.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.1308, allocations: 290.6 kB / 437.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.1309, allocations: 37.7 kB / 437.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.131, allocations: 200 kB / 437.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.1311, allocations: 43.67 kB / 437.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1312, allocations: 53.89 kB / 437.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1313, allocations: 334.8 kB / 437.8 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.1317, allocations: 108.1 kB / 437.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.1322, allocations: 213.3 kB / 438.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.133, allocations: 326.7 kB / 438.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.133, allocations: 0 / 438.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001313/0.1343, allocations: 471.8 kB / 438.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.1343, allocations: 41.69 kB / 438.9 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1343, allocations: 4 kB / 438.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.1347, allocations: 84.86 kB / 439 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.135, allocations: 52.12 kB / 439 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.1382, allocations: 2.06 MB / 441.1 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.1386, allocations: 71.67 kB / 441.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.1386, allocations: 11.94 kB / 441.2 MB, free: 6.035 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.1388, allocations: 145.9 kB / 441.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.1388, allocations: 27.84 kB / 441.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.1389, allocations: 25.84 kB / 441.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1389, allocations: 7.875 kB / 441.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1389, allocations: 0 / 441.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1389, allocations: 3.984 kB / 441.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1392, allocations: 329.4 kB / 441.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1392, allocations: 0 / 441.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1394, allocations: 23.97 kB / 441.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.1397, allocations: 80.8 kB / 441.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1397, allocations: 4 kB / 441.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.1424, allocations: 1.978 MB / 443.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1424, allocations: 7.969 kB / 443.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1435, allocations: 369.6 kB / 444.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.1436, allocations: 104.9 kB / 444.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.1436, allocations: 7.938 kB / 444.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1439, allocations: 31.95 kB / 444.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.1439, allocations: 19.98 kB / 444.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.144, allocations: 4 kB / 444.3 MB, free: 2.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.1442, allocations: 206 kB / 444.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1442, allocations: 0 / 444.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1447, allocations: 79.83 kB / 444.6 MB, free: 2.359 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.1461, allocations: 0.9175 MB / 445.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.1476, allocations: 496 kB / 446 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1476, allocations: 0 / 446 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.1481, allocations: 235.2 kB / 446.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1485, allocations: 51.05 kB / 446.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2032/0.3517, allocations: 3.592 MB / 449.9 MB, free: 23.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.3519, allocations: 0.758 MB / 450.6 MB, free: 22.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.352, allocations: 23.39 kB / 450.7 MB, free: 22.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3521, allocations: 86.22 kB / 450.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3521, allocations: 1.25 kB / 450.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.4009, allocations: 6.909 MB / 457.7 MB, free: 21.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 6.078 kB / 457.7 MB, free: 21.86 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.262944514863193] Failed to read output from testmodel.py, exit status != 0: ['time', 'buffer.opAmp.out.v', 'buffer.opAmp.out.i'] 11.867946450598538 11.887879136 11.763720629 Calling exit ...