Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.001655/0.001655, allocations: 105.6 kB / 16.45 MB, free: 6.508 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.538/1.538, allocations: 225.6 MB / 244.8 MB, free: 14.22 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.002131/0.002131, allocations: 194.8 kB / 299.8 MB, free: 9.852 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.04149/0.04149, allocations: 8.927 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.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 81.03 kB / 486 MB, free: 11.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1162, allocations: 54.42 MB / 0.5278 GB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001834/0.1181, allocations: 0.5201 MB / 0.5283 GB, free: 0.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.12, allocations: 1.128 MB / 0.5294 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.1201, allocations: 0 / 0.5294 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1203, allocations: 15.92 kB / 0.5294 GB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1205, allocations: 19.91 kB / 0.5294 GB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.884e-05/0.1206, allocations: 11.94 kB / 0.5294 GB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1207, allocations: 31.91 kB / 0.5295 GB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.1207, allocations: 4 kB / 0.5295 GB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1209, allocations: 27.84 kB / 0.5295 GB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1211, allocations: 47.83 kB / 0.5296 GB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.1211, allocations: 0 / 0.5296 GB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.1211, allocations: 4 kB / 0.5296 GB, free: 15.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1213, allocations: 35.89 kB / 0.5296 GB, free: 15.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.1213, allocations: 31.72 kB / 0.5296 GB, free: 15.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1214, allocations: 44.19 kB / 0.5297 GB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1215, allocations: 7.938 kB / 0.5297 GB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1215, allocations: 0 / 0.5297 GB, free: 15.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1215, allocations: 0 / 0.5297 GB, free: 15.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008734/0.1223, allocations: 414.7 kB / 0.5301 GB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.1224, allocations: 8.031 kB / 0.5301 GB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.1225, allocations: 34.69 kB / 0.5301 GB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1225, allocations: 12.89 kB / 0.5301 GB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.1228, allocations: 236 kB / 0.5303 GB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1229, allocations: 384 / 0.5303 GB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.1229, allocations: 4.375 kB / 0.5303 GB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.123, allocations: 41.81 kB / 0.5304 GB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.123, allocations: 4 kB / 0.5304 GB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.123, allocations: 0 / 0.5304 GB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.123, allocations: 0 / 0.5304 GB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.1231, allocations: 15.98 kB / 0.5304 GB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.1233, allocations: 185.7 kB / 0.5306 GB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.1234, allocations: 34.5 kB / 0.5306 GB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.1234, allocations: 12.86 kB / 0.5306 GB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1235, allocations: 4 kB / 0.5306 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1235, allocations: 38.5 kB / 0.5307 GB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1235, allocations: 0 / 0.5307 GB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002083/0.1237, allocations: 69.67 kB / 0.5307 GB, free: 14.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1238, allocations: 59.34 kB / 0.5308 GB, free: 13.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.124, allocations: 210.3 kB / 0.531 GB, free: 13.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.124, allocations: 25.7 kB / 0.531 GB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.1241, allocations: 108.1 kB / 0.5311 GB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1241, allocations: 3.953 kB / 0.5311 GB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1242, allocations: 21.72 kB / 0.5311 GB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1243, allocations: 322.8 kB / 0.5315 GB, free: 13.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.1244, allocations: 7.984 kB / 0.5315 GB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.1244, allocations: 8 kB / 0.5315 GB, free: 13.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.1244, allocations: 24.84 kB / 0.5315 GB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1244, allocations: 0 / 0.5315 GB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.445e-05/0.1245, allocations: 61.53 kB / 0.5316 GB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1246, allocations: 4 kB / 0.5316 GB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1246, allocations: 3.938 kB / 0.5316 GB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1246, allocations: 11.94 kB / 0.5316 GB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.1247, allocations: 7.984 kB / 0.5316 GB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1247, allocations: 0 / 0.5316 GB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.1247, allocations: 4 kB / 0.5316 GB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1247, allocations: 0 / 0.5316 GB, free: 13.1 MB / 350.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 (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 prepare postOptimizeDAE: time 0.0001065/0.1248, allocations: 126.8 kB / 0.5317 GB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1249, allocations: 11.89 kB / 0.5317 GB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.125, allocations: 70.59 kB / 0.5318 GB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.125, allocations: 4 kB / 0.5318 GB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.125, allocations: 0 / 0.5318 GB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.125, allocations: 384 / 0.5318 GB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.1252, allocations: 185.6 kB / 0.532 GB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1252, allocations: 0 / 0.532 GB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1253, allocations: 11.88 kB / 0.532 GB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1253, allocations: 0 / 0.532 GB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1253, allocations: 8 kB / 0.532 GB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1253, allocations: 0 / 0.532 GB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1253, allocations: 0 / 0.532 GB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1254, allocations: 93 kB / 0.5321 GB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1255, allocations: 96.94 kB / 0.5322 GB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1256, allocations: 0 / 0.5322 GB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.1256, allocations: 11.98 kB / 0.5322 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.1256, allocations: 0 / 0.5322 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.1256, allocations: 0 / 0.5322 GB, free: 12.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1258, allocations: 163.2 kB / 0.5323 GB, free: 12.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1258, allocations: 0 / 0.5323 GB, free: 12.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.126, allocations: 12 kB / 0.5323 GB, free: 12.21 MB / 350.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: 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.0005003/0.1265, allocations: 0.6201 MB / 0.5329 GB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1266, allocations: 23.98 kB / 0.533 GB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1266, allocations: 0 / 0.533 GB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.1266, allocations: 15.92 kB / 0.533 GB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.1268, allocations: 10.25 kB / 0.533 GB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1287, allocations: 1.589 MB / 0.5345 GB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1292, allocations: 0.7118 MB / 0.5352 GB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.252e-05/0.1293, allocations: 11.98 kB / 0.5353 GB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.1294, allocations: 31.42 kB / 0.5353 GB, free: 9.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1294, allocations: 0 / 0.5353 GB, free: 9.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1552, allocations: 2.048 MB / 0.5373 GB, free: 7.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.026, allocations: 4.625 kB / 0.5373 GB, free: 7.102 MB / 350.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.850153555162251] Failed to read output from testmodel.py, exit status != 0: 8.277763932943344 8.109233625 7.984389587 Calling exit ...