Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.00138/0.00138, allocations: 109.7 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.478/1.478, 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.001461/0.001461, allocations: 197.3 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.04132/0.04132, allocations: 8.934 MB / 363.6 MB, free: 10.2 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.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 82.59 kB / 486.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1126, allocations: 54.41 MB / 0.5278 GB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003394/0.116, allocations: 1.823 MB / 0.5296 GB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.117, allocations: 459.8 kB / 0.53 GB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.117, allocations: 0 / 0.53 GB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1172, allocations: 27.78 kB / 0.53 GB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.1173, allocations: 31.7 kB / 0.5301 GB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1174, allocations: 19.97 kB / 0.5301 GB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1177, allocations: 127.5 kB / 0.5302 GB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.1178, allocations: 40.88 kB / 0.5303 GB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.1179, allocations: 43.8 kB / 0.5303 GB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.118, allocations: 51.78 kB / 0.5303 GB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1181, allocations: 11.94 kB / 0.5304 GB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.559e-05/0.1181, allocations: 12 kB / 0.5304 GB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1182, allocations: 23.92 kB / 0.5304 GB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.1182, allocations: 51.73 kB / 0.5304 GB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1185, allocations: 123 kB / 0.5306 GB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1185, allocations: 3.938 kB / 0.5306 GB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1185, allocations: 0 / 0.5306 GB, free: 14.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1185, allocations: 3.984 kB / 0.5306 GB, free: 14.55 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007508/0.1192, allocations: 419 kB / 0.531 GB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1193, allocations: 12.03 kB / 0.531 GB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.1194, allocations: 42.73 kB / 0.531 GB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.1194, allocations: 16.78 kB / 0.531 GB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1197, allocations: 196.2 kB / 0.5312 GB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1197, allocations: 8.375 kB / 0.5312 GB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.1198, allocations: 8.375 kB / 0.5312 GB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.12, allocations: 105.7 kB / 0.5313 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.12, allocations: 0 / 0.5313 GB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.12, allocations: 12 kB / 0.5313 GB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.12, allocations: 0 / 0.5313 GB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1202, allocations: 59.97 kB / 0.5314 GB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.121, allocations: 0.4944 MB / 0.5319 GB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1211, allocations: 46.56 kB / 0.5319 GB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.1212, allocations: 24.92 kB / 0.532 GB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1212, allocations: 0 / 0.532 GB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1212, allocations: 34.56 kB / 0.532 GB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1212, allocations: 0 / 0.532 GB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002151/0.1214, allocations: 65.58 kB / 0.532 GB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1215, allocations: 55.41 kB / 0.5321 GB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1216, allocations: 137.8 kB / 0.5322 GB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1216, allocations: 25.7 kB / 0.5323 GB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1217, allocations: 124.1 kB / 0.5324 GB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1217, allocations: 15.83 kB / 0.5324 GB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1218, allocations: 25.72 kB / 0.5324 GB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1219, allocations: 318.8 kB / 0.5327 GB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.122, allocations: 15.98 kB / 0.5327 GB, free: 12.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.122, allocations: 42.55 kB / 0.5328 GB, free: 12.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.1221, allocations: 46.52 kB / 0.5328 GB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1221, allocations: 0 / 0.5328 GB, free: 11.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001328/0.1222, allocations: 85.52 kB / 0.5329 GB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1222, allocations: 4 kB / 0.5329 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1222, allocations: 0 / 0.5329 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1223, allocations: 8.062 kB / 0.5329 GB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.1224, allocations: 15.98 kB / 0.5329 GB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1224, allocations: 0 / 0.5329 GB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1224, allocations: 15.89 kB / 0.5329 GB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.1224, allocations: 64 / 0.5329 GB, free: 11.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001023/0.1225, allocations: 121.7 kB / 0.5331 GB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1226, allocations: 15.89 kB / 0.5331 GB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.1226, allocations: 12.25 kB / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1226, allocations: 0 / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1226, allocations: 4 kB / 0.5331 GB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1226, allocations: 3.984 kB / 0.5331 GB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1228, allocations: 193.6 kB / 0.5333 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1228, allocations: 0 / 0.5333 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.1229, allocations: 11.98 kB / 0.5333 GB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1229, allocations: 0 / 0.5333 GB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1229, allocations: 4 kB / 0.5333 GB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1229, allocations: 0 / 0.5333 GB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1229, allocations: 0 / 0.5333 GB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.1231, allocations: 171.4 kB / 0.5335 GB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.1232, allocations: 89.08 kB / 0.5335 GB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1232, allocations: 0 / 0.5335 GB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.1233, allocations: 0 / 0.5335 GB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.1233, allocations: 4 kB / 0.5335 GB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1233, allocations: 4 kB / 0.5336 GB, free: 11.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.33e-05/0.1234, allocations: 110.1 kB / 0.5337 GB, free: 11.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1234, allocations: 0 / 0.5337 GB, free: 11.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1236, allocations: 20 kB / 0.5337 GB, free: 10.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.0005582/0.1242, allocations: 0.6968 MB / 0.5344 GB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1243, allocations: 35.98 kB / 0.5344 GB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1243, allocations: 0 / 0.5344 GB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.1244, allocations: 11.94 kB / 0.5344 GB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1246, allocations: 16.17 kB / 0.5344 GB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1265, allocations: 1.588 MB / 0.536 GB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1269, allocations: 0.6963 MB / 0.5366 GB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.127, allocations: 8.672 kB / 0.5367 GB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.127, allocations: 27.42 kB / 0.5367 GB, free: 7.77 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.127, allocations: 0 / 0.5367 GB, free: 7.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.1574, allocations: 2.019 MB / 0.5387 GB, free: 5.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.055, allocations: 12.72 kB / 0.5387 GB, free: 5.812 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical5_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.806182685308158] Failed to read output from testmodel.py, exit status != 0: 8.30672152666375 8.137208108 8.01588374 Calling exit ...