Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001322/0.001322, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00146/0.00146, allocations: 219.8 kB / 24.53 MB, free: 4.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 67.89 kB / 378.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2782, allocations: 53.41 MB / 432 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004453/0.2826, allocations: 2.844 MB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.2839, allocations: 0.6777 MB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.284, allocations: 4 kB / 435.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2842, allocations: 47.5 kB / 435.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2844, allocations: 95.17 kB / 435.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2846, allocations: 87.89 kB / 435.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000433/0.2851, allocations: 374.5 kB / 436.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.2853, allocations: 87.34 kB / 436.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.2854, allocations: 151.4 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.2857, allocations: 167.3 kB / 436.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.2857, allocations: 32 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.2858, allocations: 36 kB / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.2859, allocations: 75.7 kB / 436.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.286, allocations: 159.2 kB / 436.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.2864, allocations: 382.8 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2864, allocations: 11.94 kB / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2864, allocations: 0 / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2865, allocations: 0 / 437.2 MB, free: 1.445 MB / 334.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.001286/0.2877, allocations: 0.5897 MB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2878, allocations: 12.03 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.828e-05/0.2878, allocations: 4.688 kB / 437.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.704e-05/0.2879, allocations: 62.73 kB / 437.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.2879, allocations: 40.69 kB / 437.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.2883, allocations: 211 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2883, allocations: 20.88 kB / 438.1 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.2884, allocations: 28.38 kB / 438.1 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.2891, allocations: 306.4 kB / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2891, allocations: 0 / 438.4 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.2891, allocations: 12 kB / 438.5 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2891, allocations: 8 kB / 438.5 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.29, allocations: 245.6 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.2918, allocations: 1.055 MB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007928/0.2926, allocations: 206.5 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.2929, allocations: 88.78 kB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2929, allocations: 0 / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.2934, allocations: 173.8 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.2934, allocations: 0 / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002086/0.2955, allocations: 442.1 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.2956, allocations: 102.8 kB / 440.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.2959, allocations: 285.8 kB / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.2959, allocations: 33.7 kB / 441.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2961, allocations: 200 kB / 441.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.2961, allocations: 43.67 kB / 441.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2962, allocations: 49.89 kB / 441.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2964, allocations: 342.8 kB / 441.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.2967, allocations: 96.16 kB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.2971, allocations: 194.9 kB / 442 MB, free: 12.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.2978, allocations: 304.5 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2978, allocations: 0 / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001257/0.2991, allocations: 423.8 kB / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.2992, allocations: 41.64 kB / 442.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2992, allocations: 7.984 kB / 442.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.2995, allocations: 68.91 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.2998, allocations: 47.89 kB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.3023, allocations: 1.612 MB / 444.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3027, allocations: 51.88 kB / 444.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.3027, allocations: 15.98 kB / 444.5 MB, free: 9.594 MB / 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.000171/0.3029, allocations: 149.6 kB / 444.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3029, allocations: 27.81 kB / 444.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.303, allocations: 29.7 kB / 444.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.303, allocations: 4 kB / 444.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.303, allocations: 0 / 444.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.303, allocations: 4 kB / 444.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.3033, allocations: 272.4 kB / 445 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3033, allocations: 0 / 445 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3034, allocations: 15.98 kB / 445 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002601/0.3037, allocations: 76.73 kB / 445.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3037, allocations: 0 / 445.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.306, allocations: 1.6 MB / 446.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.306, allocations: 3.938 kB / 446.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3071, allocations: 309.6 kB / 447 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.3071, allocations: 35.83 kB / 447 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3072, allocations: 8 kB / 447 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3074, allocations: 23.97 kB / 447.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.3075, allocations: 31.89 kB / 447.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3075, allocations: 0 / 447.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.3077, allocations: 209.1 kB / 447.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3077, allocations: 0 / 447.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.3081, allocations: 79.89 kB / 447.4 MB, free: 6.551 MB / 350.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.00139/0.3095, allocations: 0.8433 MB / 448.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3105, allocations: 413.7 kB / 448.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3105, allocations: 4.25 kB / 448.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.311, allocations: 222.5 kB / 448.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3113, allocations: 51.36 kB / 448.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.3166, allocations: 2.996 MB / 451.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.317, allocations: 0.7558 MB / 452.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3171, allocations: 26.28 kB / 452.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3173, allocations: 71.42 kB / 452.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3173, allocations: 4 kB / 452.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.3493, allocations: 7.076 MB / 459.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.07, allocations: 15.77 kB / 459.8 MB, free: 9.969 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.49958149495069] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 13.25019957497716 13.276771841 12.98540076 Calling exit ...