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.001589/0.001589, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.002091/0.002091, allocations: 213.2 kB / 24.52 MB, free: 3.91 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.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.001871/0.001871, allocations: 63.91 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2856, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004208/0.2898, allocations: 2.624 MB / 434.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2911, allocations: 0.6428 MB / 435.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.2913, allocations: 7.938 kB / 435.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.2914, allocations: 47.56 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.2916, allocations: 87.19 kB / 435.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2919, allocations: 95.83 kB / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.2923, allocations: 374.5 kB / 435.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.2925, allocations: 87.36 kB / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2927, allocations: 155.5 kB / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.2929, allocations: 163.3 kB / 436.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.293, allocations: 32 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.2931, allocations: 39.94 kB / 436.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.2931, allocations: 67.81 kB / 436.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.2933, allocations: 143.3 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.2938, allocations: 378.5 kB / 436.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2938, allocations: 4 kB / 436.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2938, allocations: 0 / 436.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2938, allocations: 4 kB / 436.8 MB, free: 1.516 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.001293/0.2951, allocations: 0.5819 MB / 437.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2951, allocations: 12.03 kB / 437.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.981e-05/0.2951, allocations: 12.66 kB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/0.2952, allocations: 58.73 kB / 437.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.2953, allocations: 40.7 kB / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.2957, allocations: 226.9 kB / 437.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2957, allocations: 20.88 kB / 437.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.2957, allocations: 24.38 kB / 437.8 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.2965, allocations: 361.9 kB / 438.2 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.2965, allocations: 0 / 438.2 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2965, allocations: 4 kB / 438.2 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.2965, allocations: 8 kB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.2974, allocations: 253.5 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.2991, allocations: 0.9808 MB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.2999, allocations: 206.5 kB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.3002, allocations: 84.78 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3002, allocations: 4 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005002/0.3007, allocations: 221.2 kB / 439.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.3007, allocations: 7.938 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002092/0.3028, allocations: 433.9 kB / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.3029, allocations: 106.8 kB / 440.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.3032, allocations: 285.8 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.3033, allocations: 33.7 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3034, allocations: 204 kB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.3035, allocations: 39.69 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3036, allocations: 53.89 kB / 441 MB, free: 13.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3038, allocations: 338.8 kB / 441.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.3041, allocations: 121.8 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.3046, allocations: 283.9 kB / 441.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.3053, allocations: 304.1 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3053, allocations: 0 / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001207/0.3065, allocations: 453.5 kB / 442.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.3065, allocations: 41.64 kB / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3065, allocations: 4 kB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.3069, allocations: 72.89 kB / 442.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.3071, allocations: 51.91 kB / 442.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.3096, allocations: 1.595 MB / 444.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.31, allocations: 51.75 kB / 444.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.31, allocations: 12 kB / 444.3 MB, free: 9.449 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.0001866/0.3102, allocations: 157.2 kB / 444.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.3102, allocations: 31.88 kB / 444.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.3103, allocations: 25.7 kB / 444.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3103, allocations: 3.938 kB / 444.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3103, allocations: 4 kB / 444.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3103, allocations: 0 / 444.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3106, allocations: 240.6 kB / 444.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3106, allocations: 0 / 444.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.3107, allocations: 19.97 kB / 444.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.3109, allocations: 72.75 kB / 444.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.311, allocations: 0 / 444.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.3132, allocations: 1.596 MB / 446.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3132, allocations: 4.031 kB / 446.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3142, allocations: 305.5 kB / 446.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3143, allocations: 35.83 kB / 446.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3144, allocations: 4 kB / 446.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3146, allocations: 35.95 kB / 446.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.3147, allocations: 23.91 kB / 446.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3147, allocations: 4 kB / 446.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.315, allocations: 201.2 kB / 447.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.315, allocations: 0 / 447.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.3154, allocations: 75.89 kB / 447.2 MB, free: 6.449 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.001405/0.3168, allocations: 0.8554 MB / 448 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.3179, allocations: 435.5 kB / 448.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3179, allocations: 0 / 448.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004723/0.3184, allocations: 227.3 kB / 448.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3187, allocations: 48.02 kB / 448.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.3244, allocations: 3.119 MB / 451.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.3245, allocations: 134.9 kB / 452 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3247, allocations: 26.28 kB / 452 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3248, allocations: 87.34 kB / 452.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3248, allocations: 0 / 452.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.3576, allocations: 7.105 MB / 459.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.08, allocations: 11.5 kB / 459.2 MB, free: 10.31 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.584876386914402] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 13.249740128987469 13.27745881 12.978483079 Calling exit ...