Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.00126/0.00126, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] 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.001285/0.001285, allocations: 185.2 kB / 20.73 MB, free: 2.207 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.469/1.469, allocations: 225.6 MB / 249.1 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1862/0.1862, allocations: 38.5 MB / 342.5 MB, free: 8.098 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.23 kB / 478.6 MB, free: 33.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09591, allocations: 61.24 MB / 0.5272 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005751/0.1017, allocations: 4.073 MB / 0.5312 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1032, allocations: 0.9154 MB / 0.5321 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1033, allocations: 11.94 kB / 0.5321 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1035, allocations: 47.5 kB / 0.5321 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.104, allocations: 187 kB / 0.5323 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1042, allocations: 91.88 kB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000461/0.1046, allocations: 402.6 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/0.1049, allocations: 90.27 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.1051, allocations: 187.1 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.1055, allocations: 215.2 kB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.481e-05/0.1056, allocations: 24 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.1056, allocations: 20 kB / 0.5333 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1057, allocations: 111.6 kB / 0.5334 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1059, allocations: 151.2 kB / 0.5335 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1063, allocations: 322.6 kB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1063, allocations: 0 / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1063, allocations: 0 / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1063, allocations: 0 / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001159/0.1075, allocations: 0.6281 MB / 0.5345 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1075, allocations: 15.89 kB / 0.5345 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.63e-05/0.1076, allocations: 58.73 kB / 0.5345 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.1077, allocations: 36.7 kB / 0.5346 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.1082, allocations: 351.2 kB / 0.5349 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1083, allocations: 12.94 kB / 0.5349 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.1083, allocations: 27.94 kB / 0.5349 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.1088, allocations: 320.4 kB / 0.5353 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1088, allocations: 0 / 0.5353 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1088, allocations: 12 kB / 0.5353 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1089, allocations: 4 kB / 0.5353 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.1092, allocations: 217.5 kB / 0.5355 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.111, allocations: 1.344 MB / 0.5368 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.1113, allocations: 141.2 kB / 0.5369 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1114, allocations: 57.75 kB / 0.537 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1114, allocations: 0 / 0.537 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1114, allocations: 38.5 kB / 0.537 GB, free: 7.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1115, allocations: 0 / 0.537 GB, free: 7.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008/0.1123, allocations: 380.5 kB / 0.5374 GB, free: 6.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1123, allocations: 81.11 kB / 0.5375 GB, free: 6.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.1126, allocations: 266.9 kB / 0.5377 GB, free: 6.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1126, allocations: 25.7 kB / 0.5377 GB, free: 6.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1127, allocations: 204 kB / 0.5379 GB, free: 6.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.1128, allocations: 55.69 kB / 0.538 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.1129, allocations: 45.66 kB / 0.538 GB, free: 5.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.113, allocations: 342.8 kB / 0.5384 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1131, allocations: 55.95 kB / 0.5384 GB, free: 5.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1133, allocations: 148.8 kB / 0.5385 GB, free: 5.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.1136, allocations: 236.6 kB / 0.5388 GB, free: 5.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1136, allocations: 0 / 0.5388 GB, free: 5.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000393/0.114, allocations: 237.2 kB / 0.539 GB, free: 4.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.114, allocations: 8.438 kB / 0.539 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.114, allocations: 8 kB / 0.539 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.114, allocations: 4 kB / 0.539 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.1142, allocations: 51.91 kB / 0.5391 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1143, allocations: 7.938 kB / 0.5391 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1144, allocations: 11.98 kB / 0.5391 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1144, allocations: 15.94 kB / 0.5391 GB, free: 4.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001554/0.1146, allocations: 157.7 kB / 0.5393 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.1146, allocations: 27.81 kB / 0.5393 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.115, allocations: 195.3 kB / 0.5395 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.115, allocations: 4 kB / 0.5395 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.115, allocations: 0 / 0.5395 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.115, allocations: 7.969 kB / 0.5395 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/0.1157, allocations: 0.5537 MB / 0.54 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1157, allocations: 0 / 0.54 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1158, allocations: 27.98 kB / 0.54 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1158, allocations: 0 / 0.54 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1159, allocations: 8 kB / 0.5401 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1159, allocations: 11.91 kB / 0.5401 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1159, allocations: 0 / 0.5401 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1162, allocations: 295.3 kB / 0.5403 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.1163, allocations: 100.9 kB / 0.5404 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1163, allocations: 8 kB / 0.5405 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1165, allocations: 7.938 kB / 0.5405 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.1165, allocations: 11.98 kB / 0.5405 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1165, allocations: 8 kB / 0.5405 GB, free: 3.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.1167, allocations: 181.9 kB / 0.5407 GB, free: 3.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1167, allocations: 0 / 0.5407 GB, free: 3.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.117, allocations: 52 kB / 0.5407 GB, free: 2.977 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006617/0.1177, allocations: 0.831 MB / 0.5415 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.118, allocations: 153.2 kB / 0.5417 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.118, allocations: 0.875 kB / 0.5417 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1181, allocations: 71.91 kB / 0.5417 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.1186, allocations: 66.64 kB / 0.5418 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1216, allocations: 2.561 MB / 0.5443 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.122, allocations: 0.7792 MB / 0.5451 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.1222, allocations: 42.22 kB / 0.5451 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1223, allocations: 91.39 kB / 0.5452 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1223, allocations: 0 / 0.5452 GB, free: 14.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.1514, allocations: 4.973 MB / 0.55 GB, free: 9.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.381, allocations: 25.09 kB / 0.5501 GB, free: 9.266 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.115705985110253] Failed to read output from testmodel.py, exit status != 0: 8.45305261015892 8.470099903 8.360455987 Calling exit ...