Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0007951/0.0007951, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008721/0.0008721, allocations: 219.6 kB / 22.26 MB, free: 3.691 MB / 13.93 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.063/1.063, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.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.8458/0.8458, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [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.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001128/0.001128, allocations: 66.86 kB / 0.7182 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6953, allocations: 102 MB / 0.8178 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006308/0.7016, allocations: 5.22 MB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.8843, allocations: 154.2 MB / 0.9735 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.8856, allocations: 23.81 kB / 0.9735 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.8864, allocations: 202.1 kB / 0.9737 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.8891, allocations: 0.5752 MB / 0.9743 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.8916, allocations: 0.8877 MB / 0.9752 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.8938, allocations: 1.443 MB / 0.9766 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.8946, allocations: 426.3 kB / 0.977 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.8956, allocations: 0.5139 MB / 0.9775 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.8963, allocations: 0.529 MB / 0.978 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.8965, allocations: 120 kB / 0.9781 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.8979, allocations: 0.5191 MB / 0.9786 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.8982, allocations: 307 kB / 0.9789 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.8987, allocations: 0.583 MB / 0.9795 GB, free: 24 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.9013, allocations: 1.714 MB / 0.9812 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.9013, allocations: 0 / 0.9812 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9013, allocations: 4 kB / 0.9812 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.9014, allocations: 0 / 0.9812 GB, free: 14.3 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002499/0.9039, allocations: 1.455 MB / 0.9826 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.9039, allocations: 11.97 kB / 0.9826 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.9041, allocations: 139.6 kB / 0.9827 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.905, allocations: 236 kB / 0.9829 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.9061, allocations: 0.7374 MB / 0.9837 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.9061, allocations: 66 kB / 0.9837 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.9062, allocations: 84 kB / 0.9838 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.9074, allocations: 0.9379 MB / 0.9847 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.9075, allocations: 0 / 0.9847 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/0.9075, allocations: 36 kB / 0.9848 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.9075, allocations: 24 kB / 0.9848 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.9088, allocations: 1.12 MB / 0.9859 GB, free: 9.352 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.9124, allocations: 2.773 MB / 0.9886 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.9134, allocations: 0.7571 MB / 0.9893 GB, free: 5.684 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.9138, allocations: 290.7 kB / 0.9896 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.9139, allocations: 28.61 kB / 0.9896 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/0.9145, allocations: 0.4893 MB / 0.9901 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/0.9145, allocations: 0 / 0.9901 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82): time 0.002098/0.9166, allocations: 1.142 MB / 0.9912 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.9167, allocations: 200.6 kB / 0.9914 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.9174, allocations: 0.6646 MB / 0.9921 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.9175, allocations: 41.7 kB / 0.9921 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.9178, allocations: 421 kB / 0.9925 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.918, allocations: 281.5 kB / 0.9928 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.9181, allocations: 142.6 kB / 0.9929 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9183, allocations: 390.7 kB / 0.9933 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.9186, allocations: 249.9 kB / 0.9935 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.919, allocations: 362.5 kB / 0.9939 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009378/0.92, allocations: 0.5916 MB / 0.9944 GB, free: 296 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.92, allocations: 0 / 0.9944 GB, free: 296 kB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001242/0.9212, allocations: 0.8256 MB / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.9212, allocations: 10.34 kB / 0.9953 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9212, allocations: 0 / 0.9953 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.9216, allocations: 84.86 kB / 0.9953 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.9219, allocations: 159.8 kB / 0.9955 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.9236, allocations: 1.523 MB / 0.997 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.924, allocations: 107.4 kB / 0.9971 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.9241, allocations: 27.98 kB / 0.9971 GB, free: 13.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004815/0.9246, allocations: 274.7 kB / 0.9974 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.9247, allocations: 87.44 kB / 0.9975 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.9261, allocations: 1.078 MB / 0.9985 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9262, allocations: 12 kB / 0.9985 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9262, allocations: 0 / 0.9985 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.9262, allocations: 3.984 kB / 0.9985 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.9272, allocations: 0.9027 MB / 0.9994 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.9272, allocations: 0 / 0.9994 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.9276, allocations: 151.8 kB / 0.9995 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.9278, allocations: 76.72 kB / 0.9996 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.9279, allocations: 31.98 kB / 0.9996 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.9294, allocations: 1.543 MB / 1.001 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9294, allocations: 64 / 1.001 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.9315, allocations: 1.352 MB / 1.002 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.9319, allocations: 203.1 kB / 1.003 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.932, allocations: 19.94 kB / 1.003 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.9324, allocations: 62.47 kB / 1.003 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.9326, allocations: 84.78 kB / 1.003 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.9326, allocations: 36.05 kB / 1.003 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005785/0.9332, allocations: 483 kB / 1.003 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.9332, allocations: 4 kB / 1.003 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001015/0.9342, allocations: 331.1 kB / 1.004 GB, free: 6.527 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003595/0.9378, allocations: 2.387 MB / 1.006 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.9393, allocations: 0.7765 MB / 1.007 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9393, allocations: 192 / 1.007 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.94, allocations: 0.4962 MB / 1.007 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.9411, allocations: 303.8 kB / 1.008 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.9511, allocations: 6.464 MB / 1.014 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.9517, allocations: 1.043 MB / 1.015 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0008752/0.9526, allocations: 266.8 kB / 1.015 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.953, allocations: 407.3 kB / 1.015 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of SimCode: time 1.824e-06/0.953, allocations: 0 / 1.015 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05953/1.013, allocations: 22.88 MB / 1.038 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.97/10.98, allocations: 15.03 kB / 1.038 GB, free: 3.664 MB / 0.8073 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.414627328980714] Failed to read output from testmodel.py, exit status != 0: 11.131941268919036 11.141177389 10.237345982 Calling exit ...