Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001491/0.001491, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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 1.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 14.51 MB / 206.1 MB " [Timeout remaining time 178] 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.001791/0.001791, allocations: 213.3 kB / 310 MB, free: 2.977 MB / 238.1 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.0418/0.0418, allocations: 8.912 MB / 375.4 MB, free: 6.629 MB / 302.1 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.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.002579/0.002579, allocations: 87.86 kB / 0.4899 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08634, allocations: 55.61 MB / 0.5442 GB, free: 5.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002435/0.08878, allocations: 1.237 MB / 0.5454 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.08891, allocations: 23.89 kB / 0.5454 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.08894, allocations: 4 kB / 0.5454 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.08896, allocations: 0 / 0.5454 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.089, allocations: 3.938 kB / 0.5454 GB, free: 3.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.0891, allocations: 3.984 kB / 0.5454 GB, free: 3.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.08916, allocations: 15.94 kB / 0.5454 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.0892, allocations: 7.938 kB / 0.5454 GB, free: 3.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.08922, allocations: 7.984 kB / 0.5455 GB, free: 3.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.08927, allocations: 7.984 kB / 0.5455 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.08929, allocations: 0 / 0.5455 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.08929, allocations: 0 / 0.5455 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.08931, allocations: 3.938 kB / 0.5455 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.08934, allocations: 8 kB / 0.5455 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.381e-05/0.0894, allocations: 16.14 kB / 0.5455 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.08941, allocations: 3.938 kB / 0.5455 GB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08941, allocations: 0 / 0.5455 GB, free: 3.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.08941, allocations: 0 / 0.5455 GB, free: 3.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003453/0.08976, allocations: 254.4 kB / 0.5457 GB, free: 3.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.08981, allocations: 11.98 kB / 0.5457 GB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.268e-05/0.08982, allocations: 192 / 0.5457 GB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.08985, allocations: 34.75 kB / 0.5458 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.08987, allocations: 4.891 kB / 0.5458 GB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.08997, allocations: 102.5 kB / 0.5459 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.08998, allocations: 4.375 kB / 0.5459 GB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.09, allocations: 384 / 0.5459 GB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.0901, allocations: 44.12 kB / 0.5459 GB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.09011, allocations: 0 / 0.5459 GB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.09011, allocations: 4 kB / 0.5459 GB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.09012, allocations: 4 kB / 0.5459 GB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.09016, allocations: 7.938 kB / 0.5459 GB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.09031, allocations: 128.8 kB / 0.5461 GB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.0904, allocations: 38.59 kB / 0.5461 GB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.09042, allocations: 8.859 kB / 0.5461 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.09043, allocations: 3.938 kB / 0.5461 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.09046, allocations: 42.5 kB / 0.5462 GB, free: 2.918 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.09047, allocations: 0 / 0.5462 GB, free: 2.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001431/0.09061, allocations: 49.72 kB / 0.5462 GB, free: 2.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.09065, allocations: 55.41 kB / 0.5463 GB, free: 2.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.09072, allocations: 97.84 kB / 0.5464 GB, free: 2.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.09074, allocations: 25.7 kB / 0.5464 GB, free: 2.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.09078, allocations: 88.14 kB / 0.5465 GB, free: 2.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.09081, allocations: 11.84 kB / 0.5465 GB, free: 2.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.09085, allocations: 21.66 kB / 0.5465 GB, free: 2.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.09097, allocations: 314.8 kB / 0.5468 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.09099, allocations: 4 kB / 0.5468 GB, free: 2.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.09101, allocations: 8 kB / 0.5468 GB, free: 2.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.953e-05/0.09104, allocations: 20.8 kB / 0.5468 GB, free: 2.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.09105, allocations: 0 / 0.5468 GB, free: 2.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.354e-05/0.09112, allocations: 49.69 kB / 0.5469 GB, free: 2.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.09114, allocations: 11.94 kB / 0.5469 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.09114, allocations: 4 kB / 0.5469 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.09115, allocations: 0 / 0.5469 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.09124, allocations: 11.98 kB / 0.5469 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.09125, allocations: 3.984 kB / 0.5469 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.09127, allocations: 0 / 0.5469 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.09127, allocations: 0 / 0.5469 GB, free: 2.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.954e-05/0.09135, allocations: 113.8 kB / 0.547 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.09136, allocations: 7.891 kB / 0.547 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.09138, allocations: 7.688 kB / 0.547 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.09138, allocations: 0 / 0.547 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09139, allocations: 4 kB / 0.547 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.09139, allocations: 0 / 0.547 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.0915, allocations: 128.7 kB / 0.5472 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.0915, allocations: 3.938 kB / 0.5472 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.09156, allocations: 8 kB / 0.5472 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.09157, allocations: 3.938 kB / 0.5472 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.09157, allocations: 0 / 0.5472 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.09158, allocations: 3.984 kB / 0.5472 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.09158, allocations: 0 / 0.5472 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.09171, allocations: 85.67 kB / 0.5473 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.09172, allocations: 3.938 kB / 0.5473 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.09173, allocations: 0 / 0.5473 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.09175, allocations: 0 / 0.5473 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.09176, allocations: 8.031 kB / 0.5473 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.09176, allocations: 0 / 0.5473 GB, free: 1.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.0918, allocations: 87.2 kB / 0.5473 GB, free: 1.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0918, allocations: 0 / 0.5473 GB, free: 1.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.09199, allocations: 4 kB / 0.5474 GB, free: 1.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.0003906/0.09238, allocations: 0.6163 MB / 0.548 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.208e-05/0.09246, allocations: 19.98 kB / 0.548 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09246, allocations: 0 / 0.548 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.09248, allocations: 7.938 kB / 0.548 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.09262, allocations: 5.094 kB / 0.548 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.09376, allocations: 1.176 MB / 0.5491 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.049e-05/0.09381, allocations: 63.34 kB / 0.5492 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.09383, allocations: 0 / 0.5492 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.09386, allocations: 7.438 kB / 0.5492 GB, free: 15.54 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.09386, allocations: 0 / 0.5492 GB, free: 15.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.125, allocations: 1.299 MB / 0.5505 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.53, allocations: 6.734 kB / 0.5505 GB, free: 14.36 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.393589380080812] Failed to read output from testmodel.py, exit status != 0: 11.686921738903038 11.712525321 11.619147494 Calling exit ...