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.00128/0.00128, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001405/0.001405, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.453/1.453, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.001855/0.001855, allocations: 67.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1149, allocations: 53.38 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004284/0.1192, allocations: 2.823 MB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1206, allocations: 0.6816 MB / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.1208, allocations: 4 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.121, allocations: 51.5 kB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1212, allocations: 95.17 kB / 430.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1215, allocations: 91.83 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.122, allocations: 370.5 kB / 431.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1222, allocations: 82.95 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.1224, allocations: 155.4 kB / 431.4 MB, free: 280 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1226, allocations: 163.3 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.1227, allocations: 36 kB / 431.6 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.1227, allocations: 36 kB / 431.6 MB, free: 44 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.587e-05/0.1228, allocations: 71.7 kB / 431.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.123, allocations: 163.2 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1234, allocations: 378.4 kB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1235, allocations: 4 kB / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1235, allocations: 0 / 432.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1235, allocations: 4 kB / 432.3 MB, free: 15.43 MB / 366.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.001412/0.1249, allocations: 0.6611 MB / 432.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1249, allocations: 8.031 kB / 432.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.916e-05/0.1249, allocations: 8.75 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.125, allocations: 62.72 kB / 433 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.1251, allocations: 36.7 kB / 433 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.1255, allocations: 264.9 kB / 433.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.1255, allocations: 16.94 kB / 433.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.1256, allocations: 24.38 kB / 433.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.1263, allocations: 315.2 kB / 433.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1263, allocations: 3.984 kB / 433.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.1264, allocations: 8 kB / 433.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.1264, allocations: 4 kB / 433.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.1272, allocations: 257.5 kB / 433.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1291, allocations: 1.094 MB / 435 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.13, allocations: 202.5 kB / 435.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.1304, allocations: 88.78 kB / 435.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.1305, allocations: 4 kB / 435.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.131, allocations: 173.7 kB / 435.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 3.075e-06/0.131, allocations: 0 / 435.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.002431/0.1335, allocations: 0.5029 MB / 436 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.1336, allocations: 110.8 kB / 436.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.134, allocations: 290.7 kB / 436.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.1341, allocations: 25.7 kB / 436.4 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.1343, allocations: 199.9 kB / 436.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.1343, allocations: 39.69 kB / 436.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1344, allocations: 57.83 kB / 436.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1346, allocations: 338.8 kB / 437 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.135, allocations: 96.16 kB / 437.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.1354, allocations: 194.1 kB / 437.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.1362, allocations: 307.2 kB / 437.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1362, allocations: 0 / 437.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001354/0.1375, allocations: 421.4 kB / 438 MB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.1376, allocations: 45.62 kB / 438 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.1376, allocations: 4 kB / 438 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/0.138, allocations: 68.91 kB / 438.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1383, allocations: 51.89 kB / 438.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.1411, allocations: 1.712 MB / 439.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.1415, allocations: 55.86 kB / 439.9 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1415, allocations: 12 kB / 439.9 MB, free: 7.16 MB / 366.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.0002387/0.1418, allocations: 148.1 kB / 440.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.1418, allocations: 31.8 kB / 440.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.1419, allocations: 29.7 kB / 440.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1419, allocations: 0 / 440.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1419, allocations: 8 kB / 440.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1419, allocations: 0 / 440.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.1422, allocations: 297.4 kB / 440.4 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1422, allocations: 0 / 440.4 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.1424, allocations: 19.97 kB / 440.5 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/0.1427, allocations: 72.75 kB / 440.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1427, allocations: 192 / 440.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.1451, allocations: 1.703 MB / 442.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1451, allocations: 0 / 442.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.1462, allocations: 317.5 kB / 442.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1464, allocations: 112.9 kB / 442.7 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.1464, allocations: 4 kB / 442.7 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1467, allocations: 31.89 kB / 442.7 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/0.1468, allocations: 31.91 kB / 442.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1468, allocations: 0 / 442.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.147, allocations: 206 kB / 442.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.147, allocations: 0 / 442.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.1474, allocations: 79.89 kB / 443 MB, free: 3.852 MB / 366.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.001529/0.1489, allocations: 0.8471 MB / 443.8 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1501, allocations: 404.1 kB / 444.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1501, allocations: 0 / 444.2 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.1506, allocations: 230.6 kB / 444.5 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1509, allocations: 44.98 kB / 444.5 MB, free: 2.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2184/0.3693, allocations: 3 MB / 447.5 MB, free: 23.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3696, allocations: 0.7499 MB / 448.3 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3697, allocations: 25.2 kB / 448.3 MB, free: 22.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3698, allocations: 75.36 kB / 448.4 MB, free: 22.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3698, allocations: 1.219 kB / 448.4 MB, free: 22.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.4019, allocations: 6.904 MB / 455.3 MB, free: 22.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.33, allocations: 6.312 kB / 455.3 MB, free: 22.16 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.749782633967698] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 12.486345098004676 12.501803006 12.375603637 Calling exit ...