Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 191.4 kB / 299.8 MB, free: 9.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04048/0.04048, allocations: 8.932 MB / 363.6 MB, free: 10.19 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.Signals,fileNamePrefix="HanserModelica_HanserModelica_Electrical_Signals",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 80.27 kB / 486 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.115, allocations: 54.41 MB / 0.5278 GB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004175/0.1192, allocations: 2.208 MB / 0.5299 GB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1204, allocations: 0.4987 MB / 0.5304 GB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1205, allocations: 4 kB / 0.5304 GB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.1207, allocations: 23.72 kB / 0.5305 GB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.1208, allocations: 39.64 kB / 0.5305 GB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1211, allocations: 47.94 kB / 0.5305 GB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1214, allocations: 163.3 kB / 0.5307 GB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1216, allocations: 54.08 kB / 0.5308 GB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1217, allocations: 67.72 kB / 0.5308 GB, free: 14.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1218, allocations: 67.64 kB / 0.5309 GB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.1218, allocations: 12 kB / 0.5309 GB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.978e-05/0.1219, allocations: 16 kB / 0.5309 GB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.1219, allocations: 31.92 kB / 0.5309 GB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.122, allocations: 79.59 kB / 0.531 GB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1223, allocations: 171.9 kB / 0.5312 GB, free: 13.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1223, allocations: 4 kB / 0.5312 GB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1223, allocations: 3.938 kB / 0.5312 GB, free: 13.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1223, allocations: 0 / 0.5312 GB, free: 13.87 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007693/0.1231, allocations: 458.7 kB / 0.5316 GB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1232, allocations: 12.03 kB / 0.5316 GB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.406e-05/0.1232, allocations: 46.73 kB / 0.5317 GB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1233, allocations: 20.84 kB / 0.5317 GB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.1237, allocations: 224.1 kB / 0.5319 GB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1238, allocations: 12.38 kB / 0.5319 GB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.1238, allocations: 12.38 kB / 0.5319 GB, free: 13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.1241, allocations: 164.8 kB / 0.5321 GB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1241, allocations: 3.938 kB / 0.5321 GB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1242, allocations: 12 kB / 0.5321 GB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1242, allocations: 4 kB / 0.5321 GB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1244, allocations: 89.64 kB / 0.5322 GB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1254, allocations: 0.7303 MB / 0.5329 GB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1257, allocations: 86.52 kB / 0.533 GB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.1257, allocations: 32.84 kB / 0.533 GB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1257, allocations: 0 / 0.533 GB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1258, allocations: 30.56 kB / 0.5331 GB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.035e-06/0.1258, allocations: 4 kB / 0.5331 GB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003377/0.1261, allocations: 105.5 kB / 0.5332 GB, free: 11.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1262, allocations: 59.34 kB / 0.5332 GB, free: 11.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1264, allocations: 160.6 kB / 0.5334 GB, free: 11.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1264, allocations: 29.7 kB / 0.5334 GB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1265, allocations: 131.8 kB / 0.5335 GB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.1266, allocations: 35.88 kB / 0.5336 GB, free: 11.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.1266, allocations: 29.7 kB / 0.5336 GB, free: 11.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1268, allocations: 322.8 kB / 0.5339 GB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.1269, allocations: 23.98 kB / 0.5339 GB, free: 10.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.127, allocations: 64.27 kB / 0.534 GB, free: 10.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1271, allocations: 88.22 kB / 0.5341 GB, free: 10.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1272, allocations: 4 kB / 0.5341 GB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002519/0.1274, allocations: 129.4 kB / 0.5342 GB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1274, allocations: 8 kB / 0.5342 GB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1274, allocations: 3.938 kB / 0.5342 GB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1274, allocations: 12.11 kB / 0.5342 GB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1276, allocations: 20 kB / 0.5342 GB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1276, allocations: 3.938 kB / 0.5342 GB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.896e-05/0.1277, allocations: 11.98 kB / 0.5342 GB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1277, allocations: 4 kB / 0.5342 GB, free: 10.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.1278, allocations: 129.7 kB / 0.5344 GB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.1278, allocations: 11.91 kB / 0.5344 GB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.1279, allocations: 16.72 kB / 0.5344 GB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1279, allocations: 4 kB / 0.5344 GB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1279, allocations: 3.938 kB / 0.5344 GB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1279, allocations: 3.984 kB / 0.5344 GB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1282, allocations: 213.6 kB / 0.5346 GB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1282, allocations: 0 / 0.5346 GB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1283, allocations: 19.98 kB / 0.5346 GB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1283, allocations: 0 / 0.5346 GB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1283, allocations: 8 kB / 0.5346 GB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1283, allocations: 0 / 0.5346 GB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.1283, allocations: 3.938 kB / 0.5346 GB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1286, allocations: 215.4 kB / 0.5348 GB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1286, allocations: 85.09 kB / 0.5349 GB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1287, allocations: 0 / 0.5349 GB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.1288, allocations: 4 kB / 0.5349 GB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1288, allocations: 19.84 kB / 0.535 GB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1288, allocations: 0 / 0.535 GB, free: 9.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1289, allocations: 118.2 kB / 0.5351 GB, free: 9.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 4 kB / 0.5351 GB, free: 9.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1292, allocations: 35.89 kB / 0.5351 GB, free: 9.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006426/0.1298, allocations: 0.732 MB / 0.5358 GB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.13, allocations: 71.91 kB / 0.5359 GB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.13, allocations: 0 / 0.5359 GB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.1301, allocations: 27.98 kB / 0.5359 GB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1304, allocations: 18.28 kB / 0.5359 GB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1326, allocations: 1.794 MB / 0.5377 GB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.133, allocations: 0.708 MB / 0.5384 GB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.024e-05/0.1331, allocations: 20.88 kB / 0.5384 GB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.1331, allocations: 39.42 kB / 0.5384 GB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1331, allocations: 0 / 0.5384 GB, free: 5.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.1612, allocations: 2.565 MB / 0.5409 GB, free: 3.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.297, allocations: 21.31 kB / 0.541 GB, free: 3.383 MB / 350.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_Signals_fmu --startTime=0 --stopTime=3 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_Signals.fmu > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.024634348228574] Failed to read output from testmodel.py, exit status != 0: 8.540883149020374 8.388098658 8.26260404 Calling exit ...