Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001315/0.001315, allocations: 112.8 kB / 19.16 MB, free: 3.887 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.001369/0.001369, allocations: 209.6 kB / 22.12 MB, free: 0.9453 MB / 14.72 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 1.425/1.425, allocations: 207.6 MB / 232.5 MB, free: 3.914 MB / 174.1 MB " [Timeout remaining time 178] 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.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 55.92 kB / 343 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.09, allocations: 49.12 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004075/0.09408, allocations: 2.766 MB / 394.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.09531, allocations: 0.6939 MB / 395.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.09544, allocations: 4 kB / 395.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.09561, allocations: 43.56 kB / 395.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.09581, allocations: 99.17 kB / 395.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.09609, allocations: 91.83 kB / 395.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.09652, allocations: 378.3 kB / 396.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.09671, allocations: 90.94 kB / 396.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.09688, allocations: 155.5 kB / 396.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.09709, allocations: 163.3 kB / 396.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.09714, allocations: 32 kB / 396.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.0972, allocations: 36 kB / 396.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.09728, allocations: 71.7 kB / 396.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.09744, allocations: 171.2 kB / 396.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.0979, allocations: 378.4 kB / 397.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.0979, allocations: 0 / 397.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0979, allocations: 0 / 397.3 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.09791, allocations: 0 / 397.3 MB, free: 3.527 MB / 318.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.00132/0.09923, allocations: 0.6573 MB / 397.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09926, allocations: 8.031 kB / 397.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/0.09928, allocations: 8.75 kB / 397.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.977e-05/0.09935, allocations: 58.73 kB / 398 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.09942, allocations: 40.69 kB / 398 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.09981, allocations: 268.8 kB / 398.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.09984, allocations: 24.94 kB / 398.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.09988, allocations: 24.38 kB / 398.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.1006, allocations: 299.3 kB / 398.6 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1006, allocations: 7.922 kB / 398.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1006, allocations: 12 kB / 398.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1006, allocations: 4 kB / 398.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.1014, allocations: 249.6 kB / 398.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1032, allocations: 1.093 MB / 400 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.104, allocations: 210.6 kB / 400.2 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.1043, allocations: 92.73 kB / 400.3 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1043, allocations: 0 / 400.3 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.1048, allocations: 165.9 kB / 400.5 MB, free: 96 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1048, allocations: 0 / 400.5 MB, free: 96 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0022/0.107, allocations: 0.5029 MB / 401 MB, free: 15.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.1071, allocations: 110.8 kB / 401.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.1074, allocations: 286.7 kB / 401.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.1074, allocations: 29.7 kB / 401.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.1076, allocations: 203.9 kB / 401.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1076, allocations: 43.58 kB / 401.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1077, allocations: 53.94 kB / 401.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1078, allocations: 334.8 kB / 402 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.1082, allocations: 96.16 kB / 402.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.1086, allocations: 195.1 kB / 402.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.1093, allocations: 305.4 kB / 402.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1094, allocations: 4 kB / 402.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001268/0.1106, allocations: 423.8 kB / 403 MB, free: 13.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.1107, allocations: 45.56 kB / 403 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1107, allocations: 0 / 403 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.111, allocations: 76.84 kB / 403.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1112, allocations: 51.89 kB / 403.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.1138, allocations: 1.719 MB / 404.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.1142, allocations: 63.75 kB / 404.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1142, allocations: 8 kB / 405 MB, free: 11.24 MB / 334.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.0001577/0.1144, allocations: 145.7 kB / 405.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.1144, allocations: 31.78 kB / 405.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.1145, allocations: 25.7 kB / 405.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1145, allocations: 8 kB / 405.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.1145, allocations: 0 / 405.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1145, allocations: 0 / 405.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1148, allocations: 305.3 kB / 405.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1148, allocations: 0 / 405.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.1149, allocations: 15.98 kB / 405.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.1152, allocations: 72.8 kB / 405.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1152, allocations: 128 / 405.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.1175, allocations: 1.704 MB / 407.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1175, allocations: 0 / 407.3 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1186, allocations: 309.6 kB / 407.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1187, allocations: 124.8 kB / 407.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1187, allocations: 8 kB / 407.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.119, allocations: 23.97 kB / 407.7 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.1191, allocations: 27.91 kB / 407.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1191, allocations: 4 kB / 407.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1193, allocations: 205.9 kB / 407.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1193, allocations: 0 / 407.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000341/0.1196, allocations: 79.89 kB / 408 MB, free: 7.934 MB / 334.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.00141/0.121, allocations: 0.8477 MB / 408.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1221, allocations: 410.2 kB / 409.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1221, allocations: 4.25 kB / 409.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.1225, allocations: 218.5 kB / 409.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1228, allocations: 41.06 kB / 409.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.1282, allocations: 3 MB / 412.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1286, allocations: 0.7595 MB / 413.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.475e-05/0.1287, allocations: 22.3 kB / 413.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1288, allocations: 79.41 kB / 413.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1288, allocations: 0 / 413.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.1585, allocations: 6.874 MB / 420.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.84, allocations: 8 kB / 420.3 MB, free: 11.36 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.14693519595312] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 11.98959717899561 12.003352242 11.90260096 Calling exit ...