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.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.0008155/0.0008155, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9086/0.9086, allocations: 177.2 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] 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.001116/0.001116, allocations: 156.6 kB / 256 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02269/0.02269, allocations: 6.666 MB / 319 MB, free: 26.77 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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 1.583e-06/1.583e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.705e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.00226/0.002277, allocations: 2.156 MB / 447.5 MB, free: 35.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.003264, allocations: 0.4986 MB / 448 MB, free: 34.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.003421, allocations: 7.938 kB / 448.1 MB, free: 34.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.003609, allocations: 27.78 kB / 448.1 MB, free: 34.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.003694, allocations: 35.64 kB / 448.1 MB, free: 34.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.003912, allocations: 47.88 kB / 448.2 MB, free: 34.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004098, allocations: 167.2 kB / 448.3 MB, free: 34.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.004232, allocations: 50.27 kB / 448.4 MB, free: 34.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.00431, allocations: 91.8 kB / 448.5 MB, free: 34.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.004386, allocations: 47.81 kB / 448.5 MB, free: 34.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.004413, allocations: 19.98 kB / 448.5 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.004428, allocations: 12 kB / 448.5 MB, free: 34.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.004451, allocations: 23.92 kB / 448.6 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.004485, allocations: 55.84 kB / 448.6 MB, free: 34.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.004635, allocations: 175.4 kB / 448.8 MB, free: 34.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004638, allocations: 0 / 448.8 MB, free: 34.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00464, allocations: 4 kB / 448.8 MB, free: 34.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004645, allocations: 0 / 448.8 MB, free: 34.22 MB / 330.7 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.0004162/0.005061, allocations: 377.7 kB / 449.2 MB, free: 33.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005098, allocations: 8.031 kB / 449.2 MB, free: 33.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.005128, allocations: 46.73 kB / 449.2 MB, free: 33.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.005162, allocations: 24.73 kB / 449.2 MB, free: 33.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.005366, allocations: 161.5 kB / 449.4 MB, free: 33.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005378, allocations: 12.38 kB / 449.4 MB, free: 33.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.005403, allocations: 20.31 kB / 449.4 MB, free: 33.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.005647, allocations: 192.4 kB / 449.6 MB, free: 33.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.005657, allocations: 192 / 449.6 MB, free: 33.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.005674, allocations: 12.12 kB / 449.6 MB, free: 33.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005681, allocations: 4 kB / 449.6 MB, free: 33.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.005811, allocations: 96.67 kB / 449.7 MB, free: 33.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.006471, allocations: 0.6674 MB / 450.4 MB, free: 32.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.006635, allocations: 66.62 kB / 450.5 MB, free: 32.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.006683, allocations: 32.84 kB / 450.5 MB, free: 32.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.006695, allocations: 0 / 450.5 MB, free: 32.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.006718, allocations: 46.48 kB / 450.5 MB, free: 32.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.00672, allocations: 0 / 450.5 MB, free: 32.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002241/0.006944, allocations: 105.8 kB / 450.6 MB, free: 32.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.006969, allocations: 55.41 kB / 450.7 MB, free: 32.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.007044, allocations: 155.3 kB / 450.8 MB, free: 31.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.007051, allocations: 33.64 kB / 450.9 MB, free: 31.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.007092, allocations: 139.7 kB / 451 MB, free: 31.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.007104, allocations: 19.86 kB / 451 MB, free: 31.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.007136, allocations: 33.66 kB / 451.1 MB, free: 31.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.123e-05/0.007167, allocations: 330.8 kB / 451.4 MB, free: 31.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.007209, allocations: 27.98 kB / 451.4 MB, free: 31.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.007253, allocations: 62.84 kB / 451.5 MB, free: 31.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.271e-05/0.007335, allocations: 92.22 kB / 451.6 MB, free: 31.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007338, allocations: 4 kB / 451.6 MB, free: 31.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001167/0.007454, allocations: 129.4 kB / 451.7 MB, free: 31.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007467, allocations: 8 kB / 451.7 MB, free: 31.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007472, allocations: 8.125 kB / 451.7 MB, free: 31.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007485, allocations: 4 kB / 451.7 MB, free: 31.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.007573, allocations: 27.92 kB / 451.7 MB, free: 31.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.00758, allocations: 0 / 451.7 MB, free: 31.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.007616, allocations: 11.89 kB / 451.8 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.007622, allocations: 8 kB / 451.8 MB, free: 30.99 MB / 330.7 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 5.358e-05/0.007675, allocations: 125.8 kB / 451.9 MB, free: 30.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.007701, allocations: 7.953 kB / 451.9 MB, free: 30.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.007725, allocations: 16.77 kB / 451.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007727, allocations: 0 / 451.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.007731, allocations: 4 kB / 451.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007734, allocations: 0 / 451.9 MB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.00785, allocations: 188.6 kB / 452.1 MB, free: 30.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007851, allocations: 3.984 kB / 452.1 MB, free: 30.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.007913, allocations: 19.94 kB / 452.1 MB, free: 30.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007915, allocations: 4 kB / 452.1 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.007923, allocations: 0 / 452.1 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007924, allocations: 0 / 452.1 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007924, allocations: 0 / 452.1 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.00808, allocations: 207.4 kB / 452.3 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.008094, allocations: 11.89 kB / 452.3 MB, free: 30.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.00811, allocations: 11.98 kB / 452.4 MB, free: 30.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.008159, allocations: 4 kB / 452.4 MB, free: 30.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.008185, allocations: 3.984 kB / 452.4 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.008189, allocations: 4 kB / 452.4 MB, free: 30.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.875e-05/0.008228, allocations: 122.1 kB / 452.5 MB, free: 30.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008228, allocations: 0 / 452.5 MB, free: 30.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.008397, allocations: 39.83 kB / 452.5 MB, free: 30.16 MB / 330.7 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.0002387/0.008636, allocations: 0.7398 MB / 453.3 MB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.008757, allocations: 67.89 kB / 453.3 MB, free: 29.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.008759, allocations: 0 / 453.3 MB, free: 29.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.00879, allocations: 23.94 kB / 453.4 MB, free: 29.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.009026, allocations: 27.02 kB / 453.4 MB, free: 29.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.01013, allocations: 1.762 MB / 455.1 MB, free: 27.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.01018, allocations: 106.9 kB / 455.2 MB, free: 27.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.01022, allocations: 4.984 kB / 455.3 MB, free: 27.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.01027, allocations: 44.48 kB / 455.3 MB, free: 27.23 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01027, allocations: 0 / 455.3 MB, free: 27.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.02808, allocations: 3.26 MB / 458.6 MB, free: 24.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/6.63, allocations: 10.89 kB / 458.6 MB, free: 24.09 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.533438698388636] Failed to read output from testmodel.py, exit status != 0: 6.709446528926492 6.72196218 6.714998879 Calling exit ...