Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.001825/0.001825, allocations: 108.9 kB / 17.17 MB, free: 5.867 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.00195/0.00195, allocations: 197.4 kB / 20.12 MB, free: 2.93 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.377/1.377, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04996/0.04996, allocations: 8.23 MB / 311.6 MB, free: 2.039 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.89 kB / 434 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2558, allocations: 54.36 MB / 488.3 MB, free: 27.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003366/0.2592, allocations: 2.486 MB / 490.8 MB, free: 25.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.2622, allocations: 2.571 MB / 493.4 MB, free: 23.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.2624, allocations: 9.406 kB / 493.4 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.2629, allocations: 169.4 kB / 493.5 MB, free: 23.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.2635, allocations: 290.6 kB / 493.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.2654, allocations: 1.293 MB / 495.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.2658, allocations: 424.6 kB / 495.5 MB, free: 21.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.266, allocations: 82.53 kB / 495.6 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.2662, allocations: 168.9 kB / 495.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.2664, allocations: 211.3 kB / 496 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.2664, allocations: 30.84 kB / 496 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.267, allocations: 349.5 kB / 496.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.2671, allocations: 78.53 kB / 496.4 MB, free: 21.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.2672, allocations: 191.2 kB / 496.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.2679, allocations: 0.6383 MB / 497.3 MB, free: 20.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2679, allocations: 0 / 497.3 MB, free: 20.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2679, allocations: 0 / 497.3 MB, free: 20.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2679, allocations: 1.281 kB / 497.3 MB, free: 20.9 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003823/0.2718, allocations: 1.228 MB / 498.5 MB, free: 20.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2718, allocations: 14.39 kB / 498.5 MB, free: 20.06 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.2719, allocations: 71.78 kB / 498.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.272, allocations: 48.53 kB / 498.6 MB, free: 19.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2723, allocations: 327.3 kB / 498.9 MB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.2724, allocations: 57.11 kB / 499 MB, free: 19.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.2725, allocations: 36.56 kB / 499 MB, free: 19.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/0.2731, allocations: 438 kB / 499.5 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2731, allocations: 0 / 499.5 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.2731, allocations: 19.19 kB / 499.5 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2731, allocations: 6.562 kB / 499.5 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.2736, allocations: 381.4 kB / 499.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.2756, allocations: 1.736 MB / 0.4898 GB, free: 17.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008279/0.2764, allocations: 458.9 kB / 0.4903 GB, free: 17.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.2767, allocations: 227.2 kB / 0.4905 GB, free: 17.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.721e-05/0.2768, allocations: 13.56 kB / 0.4905 GB, free: 17.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.2773, allocations: 316.9 kB / 0.4908 GB, free: 16.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.2773, allocations: 1.375 kB / 0.4908 GB, free: 16.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.003813/0.2811, allocations: 1.336 MB / 0.4921 GB, free: 16.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.2812, allocations: 115.1 kB / 0.4922 GB, free: 16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.2814, allocations: 285.1 kB / 0.4925 GB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2815, allocations: 37.42 kB / 0.4925 GB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.2815, allocations: 162.4 kB / 0.4927 GB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.2816, allocations: 151.8 kB / 0.4928 GB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.2818, allocations: 92.92 kB / 0.4929 GB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.2818, allocations: 346.3 kB / 0.4933 GB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.2822, allocations: 261.8 kB / 0.4935 GB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.2826, allocations: 308.9 kB / 0.4938 GB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.2833, allocations: 0.5621 MB / 0.4943 GB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2833, allocations: 0 / 0.4943 GB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001787/0.2851, allocations: 0.8973 MB / 0.4952 GB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2851, allocations: 9.031 kB / 0.4952 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2851, allocations: 7.938 kB / 0.4952 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.2877, allocations: 0.6068 MB / 0.4958 GB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2879, allocations: 79.36 kB / 0.4959 GB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2893, allocations: 1.065 MB / 0.4969 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.2896, allocations: 46.56 kB / 0.497 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.2897, allocations: 21.3 kB / 0.497 GB, free: 12.75 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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.2898, allocations: 166.7 kB / 0.4972 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.2899, allocations: 33.22 kB / 0.4972 GB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2911, allocations: 0.7575 MB / 0.4979 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.2911, allocations: 4.688 kB / 0.4979 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2911, allocations: 0 / 0.4979 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2911, allocations: 5.078 kB / 0.498 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.2916, allocations: 0.5641 MB / 0.4985 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2916, allocations: 4 kB / 0.4985 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2918, allocations: 55.92 kB / 0.4986 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.294, allocations: 0.5774 MB / 0.4991 GB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.2941, allocations: 14.75 kB / 0.4991 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.2954, allocations: 1.083 MB / 0.5002 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2954, allocations: 7.922 kB / 0.5002 GB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2964, allocations: 0.7095 MB / 0.5009 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.2965, allocations: 123.1 kB / 0.501 GB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.2966, allocations: 11.38 kB / 0.501 GB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.2969, allocations: 22.8 kB / 0.501 GB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.2969, allocations: 33.98 kB / 0.5011 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.297, allocations: 14.19 kB / 0.5011 GB, free: 9.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.2972, allocations: 201.9 kB / 0.5013 GB, free: 9.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2972, allocations: 0 / 0.5013 GB, free: 9.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.2976, allocations: 138.5 kB / 0.5014 GB, free: 9.711 MB / 366.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002476/0.3001, allocations: 1.576 MB / 0.503 GB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.3017, allocations: 0.6714 MB / 0.5036 GB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3017, allocations: 0 / 0.5036 GB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3027, allocations: 374.2 kB / 0.504 GB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3031, allocations: 46.72 kB / 0.504 GB, free: 8.129 MB / 366.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/0.3085, allocations: 4.344 MB / 0.5083 GB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3086, allocations: 0.7925 MB / 0.509 GB, free: 3.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.3088, allocations: 62.86 kB / 0.5091 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.309, allocations: 119.4 kB / 0.5092 GB, free: 2.852 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.309, allocations: 0 / 0.5092 GB, free: 2.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3968/0.7057, allocations: 11.83 MB / 0.5208 GB, free: 7.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.5, allocations: 3.938 kB / 0.5208 GB, free: 7.055 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableLoad_fmu --startTime=0 --stopTime=3.15324e+07 --stepSize=12613 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.607374525163323] Failed to read output from testmodel.py, exit status != 0: 13.612619753926992 13.625874261 13.355226998000001 Calling exit ...