Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.00158/0.00158, allocations: 121 kB / 18.5 MB, free: 4.562 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.001707/0.001707, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+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.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 51.92 kB / 373.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1139, allocations: 53.34 MB / 427.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.0041/0.118, allocations: 2.626 MB / 429.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1192, allocations: 0.6895 MB / 430.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1194, allocations: 7.938 kB / 430.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1195, allocations: 43.52 kB / 430.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1198, allocations: 87.31 kB / 430.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.12, allocations: 83.83 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.1203, allocations: 310.7 kB / 430.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1205, allocations: 76.86 kB / 431 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1207, allocations: 119.6 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1209, allocations: 123.5 kB / 431.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1209, allocations: 24 kB / 431.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.1209, allocations: 24 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.121, allocations: 59.77 kB / 431.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1211, allocations: 127.4 kB / 431.4 MB, free: 316 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1215, allocations: 298.7 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1215, allocations: 0 / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1215, allocations: 4 kB / 431.7 MB, free: 12 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1215, allocations: 0 / 431.7 MB, free: 12 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.1992/0.3207, allocations: 0.5585 MB / 432.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3208, allocations: 9.812 kB / 432.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/0.3208, allocations: 7.406 kB / 432.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.3208, allocations: 60.12 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3209, allocations: 30.06 kB / 432.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3212, allocations: 263 kB / 432.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.3213, allocations: 19.19 kB / 432.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.3213, allocations: 19.09 kB / 432.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.3218, allocations: 228.3 kB / 432.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3218, allocations: 2 kB / 432.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3218, allocations: 10.25 kB / 432.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3218, allocations: 5.906 kB / 432.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.3222, allocations: 189.2 kB / 433.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.3235, allocations: 0.8995 MB / 434 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.3241, allocations: 201.2 kB / 434.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.3244, allocations: 117.8 kB / 434.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3244, allocations: 6.016 kB / 434.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3245, allocations: 33.06 kB / 434.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.3245, allocations: 3.188 kB / 434.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00188/0.3263, allocations: 0.5569 MB / 434.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3264, allocations: 56.31 kB / 435 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.3266, allocations: 226 kB / 435.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3266, allocations: 33.64 kB / 435.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.3267, allocations: 164.6 kB / 435.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.3268, allocations: 62.83 kB / 435.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.3268, allocations: 41.56 kB / 435.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.3269, allocations: 328.5 kB / 435.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3271, allocations: 74.53 kB / 435.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3273, allocations: 108.3 kB / 436 MB, free: 9.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.3276, allocations: 188.9 kB / 436.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3276, allocations: 1.344 kB / 436.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008541/0.3285, allocations: 342.9 kB / 436.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3285, allocations: 5.344 kB / 436.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3285, allocations: 2.188 kB / 436.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.3289, allocations: 83.14 kB / 436.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.329, allocations: 41.06 kB / 436.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.3317, allocations: 2.007 MB / 438.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3318, allocations: 28.36 kB / 438.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3319, allocations: 12.06 kB / 438.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001318/0.332, allocations: 141.1 kB / 438.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001019/0.3321, allocations: 98.73 kB / 438.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001666/0.3323, allocations: 149.3 kB / 439.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.3323, allocations: 0 / 439.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003338/0.3326, allocations: 224.3 kB / 439.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3326, allocations: 7.719 kB / 439.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3326, allocations: 2.328 kB / 439.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.037e-05/0.3327, allocations: 26.75 kB / 439.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3329, allocations: 46.83 kB / 439.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007105/0.3336, allocations: 1.415 MB / 440.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3337, allocations: 19.39 kB / 440.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3337, allocations: 12.41 kB / 440.8 MB, free: 5.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 9.307e-05/0.3338, allocations: 196.4 kB / 441 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.3338, allocations: 22.33 kB / 441 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.3339, allocations: 24.72 kB / 441.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3339, allocations: 5.844 kB / 441.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3339, allocations: 0 / 441.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3339, allocations: 2.016 kB / 441.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.335, allocations: 0.6192 MB / 441.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.335, allocations: 5.438 kB / 441.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3351, allocations: 22.23 kB / 441.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.3353, allocations: 78.05 kB / 441.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3353, allocations: 1.062 kB / 441.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.3374, allocations: 1.922 MB / 443.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3374, allocations: 0 / 443.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.3382, allocations: 439.4 kB / 444.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.3383, allocations: 100.2 kB / 444.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3383, allocations: 9.25 kB / 444.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.3385, allocations: 17.8 kB / 444.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3385, allocations: 12.06 kB / 444.3 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.3385, allocations: 4.5 kB / 444.3 MB, free: 3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3387, allocations: 162.1 kB / 444.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3387, allocations: 1.406 kB / 444.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005522/0.3392, allocations: 121.1 kB / 444.6 MB, free: 2.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001061/0.3403, allocations: 0.9608 MB / 445.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3415, allocations: 0.5312 MB / 446.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3415, allocations: 0 / 446.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.3417, allocations: 207.4 kB / 446.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3421, allocations: 38.69 kB / 446.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.3457, allocations: 2.643 MB / 448.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.3461, allocations: 0.7475 MB / 449.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3463, allocations: 24.28 kB / 449.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3464, allocations: 63.56 kB / 449.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3464, allocations: 0 / 449.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.3772, allocations: 5.537 MB / 455.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.62, allocations: 16.64 kB / 455.3 MB, free: 14.31 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.108717109949794] Failed to read output from testmodel.py, exit status != 0: ['time', 'c.v', 'opAmp.out.v', 'opAmp.out.i'] 12.767297980957665 12.789828915 12.664885763 Calling exit ...