Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.0008622/0.0008622, allocations: 87.62 kB / 21.43 MB, free: 3.121 MB / 18.57 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.004861/0.004861, allocations: 168.1 kB / 24.7 MB, free: 9.434 MB / 18.57 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 0.906/0.906, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 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.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.02e-05, allocations: 2.281 kB / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.002822/0.002842, allocations: 2.552 MB / 301 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003858, allocations: 0.6904 MB / 301.7 MB, free: 212 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.003988, allocations: 7.938 kB / 301.7 MB, free: 204 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.004115, allocations: 43.52 kB / 301.8 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.004264, allocations: 95.23 kB / 301.9 MB, free: 64 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1447/0.149, allocations: 95.28 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.1495, allocations: 367.7 kB / 302.3 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1497, allocations: 58.92 kB / 302.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1499, allocations: 193.7 kB / 302.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1501, allocations: 120 kB / 302.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/0.1501, allocations: 29.09 kB / 302.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.1502, allocations: 33.34 kB / 302.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.1502, allocations: 66.94 kB / 302.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1503, allocations: 105.3 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.1508, allocations: 336.4 kB / 303.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1508, allocations: 3.938 kB / 303.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1508, allocations: 0.5625 kB / 303.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1508, allocations: 1.188 kB / 303.2 MB, free: 13.09 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001028/0.1519, allocations: 0.569 MB / 303.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1519, allocations: 13.36 kB / 303.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.152, allocations: 56.08 kB / 303.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.152, allocations: 31.86 kB / 303.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.1524, allocations: 220 kB / 304.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1524, allocations: 16.34 kB / 304.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1524, allocations: 24.31 kB / 304.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1529, allocations: 295.4 kB / 304.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1529, allocations: 2.531 kB / 304.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1529, allocations: 8.094 kB / 304.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.153, allocations: 9.594 kB / 304.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.1534, allocations: 245.5 kB / 304.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1545, allocations: 0.7745 MB / 305.5 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.155, allocations: 225.7 kB / 305.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1552, allocations: 99.36 kB / 305.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1552, allocations: 1.344 kB / 305.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/0.1555, allocations: 232.1 kB / 306 MB, free: 11.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.1555, allocations: 0 / 306 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.001399/0.1569, allocations: 0.5976 MB / 306.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.157, allocations: 114.4 kB / 306.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1572, allocations: 277 kB / 307 MB, free: 11.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1572, allocations: 26.86 kB / 307 MB, free: 11.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.1573, allocations: 185.8 kB / 307.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1573, allocations: 41.11 kB / 307.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1574, allocations: 45.2 kB / 307.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.1575, allocations: 339.4 kB / 307.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1577, allocations: 137.6 kB / 307.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1579, allocations: 254.8 kB / 308 MB, free: 10.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1583, allocations: 276.3 kB / 308.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1583, allocations: 0 / 308.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006973/0.159, allocations: 481 kB / 308.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.159, allocations: 38 kB / 308.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.159, allocations: 10.38 kB / 308.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.1593, allocations: 74.88 kB / 308.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1594, allocations: 45.86 kB / 308.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.161, allocations: 1.903 MB / 310.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1613, allocations: 45.66 kB / 310.9 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.1613, allocations: 12.69 kB / 310.9 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002091/0.1615, allocations: 209.6 kB / 311.1 MB, free: 8.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000195/0.1617, allocations: 240.3 kB / 311.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002882/0.162, allocations: 244.6 kB / 311.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.162, allocations: 4.469 kB / 311.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004434/0.1624, allocations: 352.7 kB / 311.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1624, allocations: 37.12 kB / 311.9 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1624, allocations: 6.594 kB / 311.9 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.828e-05/0.1625, allocations: 35.53 kB / 312 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1626, allocations: 40.73 kB / 312 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005074/0.1631, allocations: 1.319 MB / 313.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.1633, allocations: 39.06 kB / 313.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1633, allocations: 12.89 kB / 313.4 MB, free: 6.445 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.1634, allocations: 195.6 kB / 313.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1634, allocations: 27.86 kB / 313.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.1635, allocations: 27.33 kB / 313.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1635, allocations: 1.625 kB / 313.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1635, allocations: 0 / 313.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1635, allocations: 0.9375 kB / 313.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1637, allocations: 240.7 kB / 313.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1637, allocations: 0.5625 kB / 313.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.1637, allocations: 22.2 kB / 313.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.1639, allocations: 76.08 kB / 314 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1639, allocations: 4.609 kB / 314 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.1651, allocations: 1.81 MB / 315.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1651, allocations: 0 / 315.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1657, allocations: 357.1 kB / 316.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.1657, allocations: 28.44 kB / 316.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1657, allocations: 2.438 kB / 316.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1658, allocations: 41.66 kB / 316.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1659, allocations: 19.03 kB / 316.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1659, allocations: 4.25 kB / 316.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.166, allocations: 195.5 kB / 316.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.166, allocations: 0 / 316.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.1664, allocations: 120.6 kB / 316.5 MB, free: 4.191 MB / 282.7 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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007885/0.1672, allocations: 0.8875 MB / 317.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1683, allocations: 0.7971 MB / 318.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1683, allocations: 0 / 318.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.1686, allocations: 240.2 kB / 318.5 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1689, allocations: 47.22 kB / 318.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.1751, allocations: 3.565 MB / 322.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.1753, allocations: 139.4 kB / 322.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.1755, allocations: 30.05 kB / 322.2 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1756, allocations: 74.66 kB / 322.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1756, allocations: 0.9688 kB / 322.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.2023, allocations: 7.632 MB / 329.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.248, allocations: 7.938 kB / 329.9 MB, free: 12.88 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.873324634507298] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.out.v', 'opAmp.out.i'] 8.343943009153008 8.354205109 8.201632798 Calling exit ...