Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.001072/0.001072, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] 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.001073/0.001073, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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.9244/0.9244, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7229/0.7229, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.215e-05, allocations: 5.781 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001985/0.002007, allocations: 1.465 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005562/0.002563, allocations: 350.8 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.002601, allocations: 4 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.00263, allocations: 3.938 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.002674, allocations: 7.922 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.003083, allocations: 111.6 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.003151, allocations: 23.94 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.003241, allocations: 7.969 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.003293, allocations: 23.86 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.003324, allocations: 8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.003339, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.003605, allocations: 259.6 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.003621, allocations: 4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.00364, allocations: 8 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.003821, allocations: 135.6 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003825, allocations: 0 / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.233e-06/0.003826, allocations: 0 / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.00383, allocations: 0 / 0.6204 GB, free: 11.31 MB / 0.5886 GB 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.0003582/0.004188, allocations: 286 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.00423, allocations: 21.45 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.00426, allocations: 30.75 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.004301, allocations: 0.9375 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.004384, allocations: 109.8 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.0044, allocations: 4.375 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.00441, allocations: 4.375 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.004555, allocations: 50.23 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.004562, allocations: 192 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.00457, allocations: 384 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.004576, allocations: 8.062 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.004665, allocations: 43.94 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.004957, allocations: 208.1 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.005042, allocations: 38.55 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.005086, allocations: 28.84 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003247/0.005411, allocations: 79.91 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.005435, allocations: 46.42 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.005437, allocations: 0 / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.005673, allocations: 81.75 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.005702, allocations: 55.39 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.005762, allocations: 101.9 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.005774, allocations: 25.7 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.005815, allocations: 96.06 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.005833, allocations: 7.891 kB / 0.6217 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.005859, allocations: 13.72 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.005933, allocations: 314.8 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.005978, allocations: 15.98 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.006016, allocations: 24 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.006091, allocations: 36.77 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006093, allocations: 4 kB / 0.6221 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001159/0.006209, allocations: 77.55 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.006223, allocations: 4 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006228, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.006241, allocations: 4.094 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.006298, allocations: 11.98 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.006306, allocations: 0 / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.006327, allocations: 4 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.006332, allocations: 256 / 0.6222 GB, free: 9.316 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * 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.21e-05/0.006384, allocations: 106.8 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.006405, allocations: 11.92 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.006545, allocations: 85.22 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006548, allocations: 0 / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.006551, allocations: 0 / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.006554, allocations: 0 / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.006656, allocations: 128.8 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006658, allocations: 0 / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.006683, allocations: 7.984 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.006687, allocations: 3.938 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.006693, allocations: 3.938 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006694, allocations: 4 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006695, allocations: 0 / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.006829, allocations: 171.4 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.006837, allocations: 7.938 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.006847, allocations: 0 / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.006882, allocations: 7.984 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.006913, allocations: 0 / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.006917, allocations: 0 / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.006948, allocations: 83.28 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006948, allocations: 0 / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000163/0.007111, allocations: 27.95 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB 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 (2): * Single equations (assignments): 2 * 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.000396/0.007507, allocations: 0.6968 MB / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.007636, allocations: 43.89 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.007638, allocations: 0 / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.007678, allocations: 24.08 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.007904, allocations: 5.812 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.008249, allocations: 146.5 kB / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.00829, allocations: 59.36 kB / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.00831, allocations: 0 / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.008342, allocations: 16.48 kB / 0.6237 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.008342, allocations: 0 / 0.6237 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.02396, allocations: 2.279 MB / 0.626 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.134, allocations: 10.08 kB / 0.626 GB, free: 5.387 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.85684831533581] Failed to read output from testmodel.py, exit status != 0: 7.215023118071258 7.226282166 7.220599193 Calling exit ...