Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005003/0.005003, allocations: 102.7 kB / 21.96 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 204.8 kB / 25.28 MB, free: 3.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 43.94 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2427, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.00318/0.2458, allocations: 2.768 MB / 399.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000998/0.2468, allocations: 0.6988 MB / 400.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.247, allocations: 8.375 kB / 400.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2471, allocations: 44.19 kB / 400.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.2473, allocations: 90.97 kB / 400.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.2475, allocations: 84.56 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.2478, allocations: 385.4 kB / 401.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.248, allocations: 99.92 kB / 401.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2481, allocations: 148.8 kB / 401.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.2483, allocations: 167.5 kB / 401.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.2484, allocations: 33.97 kB / 401.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.2484, allocations: 33.53 kB / 401.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.2485, allocations: 77.34 kB / 401.8 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2486, allocations: 158.2 kB / 401.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.249, allocations: 377.2 kB / 402.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.249, allocations: 0.5625 kB / 402.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.249, allocations: 1.25 kB / 402.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.249, allocations: 0 / 402.3 MB, free: 5.691 MB / 318.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.001096/0.2501, allocations: 0.5881 MB / 402.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2501, allocations: 10.5 kB / 402.9 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.2502, allocations: 10.78 kB / 402.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.2502, allocations: 61.47 kB / 403 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.2503, allocations: 40.95 kB / 403 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.2505, allocations: 207.7 kB / 403.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2506, allocations: 20.66 kB / 403.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.2506, allocations: 24.25 kB / 403.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.2512, allocations: 307.6 kB / 403.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2512, allocations: 0 / 403.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.2512, allocations: 16.06 kB / 403.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2512, allocations: 5.875 kB / 403.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.252, allocations: 251.6 kB / 403.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2533, allocations: 1.053 MB / 404.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/0.2541, allocations: 203 kB / 405.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.2544, allocations: 85.95 kB / 405.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2544, allocations: 10.27 kB / 405.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.2549, allocations: 161 kB / 405.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.2549, allocations: 0 / 405.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00211/0.257, allocations: 453.8 kB / 405.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.257, allocations: 107 kB / 405.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.2574, allocations: 284.2 kB / 406.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2574, allocations: 30.8 kB / 406.2 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2575, allocations: 202.1 kB / 406.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.2575, allocations: 46.52 kB / 406.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.2576, allocations: 48.58 kB / 406.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.2577, allocations: 340 kB / 406.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.258, allocations: 89.16 kB / 406.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.2584, allocations: 198.6 kB / 407.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.259, allocations: 310.4 kB / 407.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.259, allocations: 1.531 kB / 407.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001177/0.2602, allocations: 425.2 kB / 407.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.2602, allocations: 41.81 kB / 407.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2602, allocations: 8.062 kB / 407.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.2606, allocations: 71.52 kB / 407.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2608, allocations: 47.17 kB / 408 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.2628, allocations: 1.613 MB / 409.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.2632, allocations: 57.05 kB / 409.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2632, allocations: 14.12 kB / 409.6 MB, free: 0.6445 MB / 318.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.0001278/0.2633, allocations: 145.2 kB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.2634, allocations: 24.03 kB / 409.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.2634, allocations: 29.33 kB / 409.8 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2634, allocations: 5.375 kB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.2634, allocations: 0 / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2634, allocations: 1.125 kB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2637, allocations: 267.5 kB / 410.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2637, allocations: 5.781 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2638, allocations: 16.8 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.264, allocations: 64.64 kB / 410.2 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2641, allocations: 6.375 kB / 410.2 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.2662, allocations: 1.602 MB / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2662, allocations: 192 / 411.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2674, allocations: 310.1 kB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.2675, allocations: 39.03 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.2675, allocations: 10.08 kB / 412.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2678, allocations: 28.8 kB / 412.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.2678, allocations: 29.62 kB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2679, allocations: 8.359 kB / 412.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.2681, allocations: 199.5 kB / 412.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2681, allocations: 0 / 412.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.2685, allocations: 79.78 kB / 412.5 MB, free: 14.52 MB / 334.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.001335/0.2698, allocations: 0.8446 MB / 413.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009881/0.2708, allocations: 398.4 kB / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2708, allocations: 0 / 413.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.2712, allocations: 232.7 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2715, allocations: 38.16 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.2767, allocations: 3.01 MB / 417 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.2771, allocations: 0.7552 MB / 417.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.2772, allocations: 31.2 kB / 417.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2773, allocations: 77.66 kB / 417.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2774, allocations: 0 / 417.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.3094, allocations: 7.053 MB / 424.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.57, allocations: 10.14 kB / 424.9 MB, free: 6.508 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.816880729980767] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 12.737018048996106 12.754251517 12.502094011 Calling exit ...