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.005174/0.005174, allocations: 102.2 kB / 21.96 MB, free: 5.211 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.001521/0.001521, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.299/1.299, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.001674/0.001674, allocations: 57.8 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2502, allocations: 49.16 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003157/0.2533, allocations: 2.557 MB / 399.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.2542, allocations: 0.6612 MB / 400.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2543, allocations: 8.438 kB / 400.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2545, allocations: 46.36 kB / 400.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.2546, allocations: 96.62 kB / 400.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.2548, allocations: 85.2 kB / 400.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.2552, allocations: 384.8 kB / 401 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.2554, allocations: 96.38 kB / 401.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2555, allocations: 145 kB / 401.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.2557, allocations: 166.1 kB / 401.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.2558, allocations: 39.25 kB / 401.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.614e-05/0.2558, allocations: 33.31 kB / 401.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.2559, allocations: 69.97 kB / 401.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.256, allocations: 141.8 kB / 401.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.2564, allocations: 378.1 kB / 402 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2564, allocations: 0 / 402 MB, free: 5.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2564, allocations: 0.9688 kB / 402 MB, free: 5.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2564, allocations: 0.6562 kB / 402 MB, free: 5.871 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.001084/0.2575, allocations: 0.5894 MB / 402.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2575, allocations: 10.06 kB / 402.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.141e-05/0.2575, allocations: 7.172 kB / 402.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.2576, allocations: 61.08 kB / 402.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.2576, allocations: 32.69 kB / 402.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.2579, allocations: 219.9 kB / 402.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.258, allocations: 22.97 kB / 403 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.258, allocations: 25.77 kB / 403 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.2586, allocations: 352.9 kB / 403.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2586, allocations: 0 / 403.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.2587, allocations: 10.59 kB / 403.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2587, allocations: 6.094 kB / 403.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.2594, allocations: 255.4 kB / 403.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.2607, allocations: 0.9863 MB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000664/0.2614, allocations: 202.5 kB / 404.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.2616, allocations: 86.27 kB / 404.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2617, allocations: 6.219 kB / 404.9 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.2621, allocations: 221.6 kB / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2621, allocations: 0 / 405.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001863/0.2639, allocations: 446 kB / 405.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.264, allocations: 110.8 kB / 405.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.2642, allocations: 279.7 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2642, allocations: 32.61 kB / 405.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.2643, allocations: 202.2 kB / 406.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.2644, allocations: 44.34 kB / 406.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/0.2644, allocations: 50.62 kB / 406.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.2645, allocations: 334.3 kB / 406.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.2648, allocations: 129.2 kB / 406.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2651, allocations: 281 kB / 406.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.2657, allocations: 296.7 kB / 407.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2657, allocations: 1.031 kB / 407.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001048/0.2668, allocations: 457.6 kB / 407.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.2668, allocations: 39.34 kB / 407.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2668, allocations: 2.75 kB / 407.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.2671, allocations: 72.47 kB / 407.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2673, allocations: 50.73 kB / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.2691, allocations: 1.604 MB / 409.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2695, allocations: 61.88 kB / 409.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.2695, allocations: 14.28 kB / 409.5 MB, free: 0.5781 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.0001108/0.2696, allocations: 149.4 kB / 409.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.2696, allocations: 23.56 kB / 409.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.2697, allocations: 24.02 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2697, allocations: 1.375 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2697, allocations: 2.172 kB / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2697, allocations: 0 / 409.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2699, allocations: 241.9 kB / 410 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2699, allocations: 4.797 kB / 410 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.27, allocations: 17.78 kB / 410 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.2702, allocations: 67.72 kB / 410 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2702, allocations: 2.094 kB / 410 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.2724, allocations: 1.594 MB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2724, allocations: 1.156 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.2733, allocations: 310.8 kB / 411.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2734, allocations: 41.75 kB / 412 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.2735, allocations: 6.469 kB / 412 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.2737, allocations: 30.03 kB / 412 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2738, allocations: 28.97 kB / 412 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2738, allocations: 3.641 kB / 412 MB, free: 14.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.2741, allocations: 200.6 kB / 412.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2741, allocations: 0 / 412.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.2745, allocations: 76.05 kB / 412.3 MB, free: 14.48 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.001351/0.2758, allocations: 0.8462 MB / 413.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2768, allocations: 436.2 kB / 413.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2768, allocations: 0 / 413.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.2773, allocations: 223.6 kB / 413.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.2776, allocations: 51.36 kB / 413.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.2829, allocations: 3.118 MB / 417 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.283, allocations: 145.7 kB / 417.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.2831, allocations: 24.48 kB / 417.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.2833, allocations: 79.94 kB / 417.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2833, allocations: 0 / 417.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3141, allocations: 7.093 MB / 424.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.76, allocations: 4.062 kB / 424.3 MB, free: 6.887 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.946772082010284] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 12.926203399081714 12.940392728 12.681167381 Calling exit ...