Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007429/0.007429, allocations: 106.3 kB / 15.74 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 196.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002217/0.002217, allocations: 286.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9242/0.9242, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 95.86 kB / 0.6814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3707, allocations: 86.98 MB / 0.7664 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005487/0.3762, allocations: 4.204 MB / 0.7705 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004134/0.3804, allocations: 2.633 MB / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.3807, allocations: 11.94 kB / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3819, allocations: 374.2 kB / 0.7734 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008767/0.3827, allocations: 390.3 kB / 0.7738 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3839, allocations: 0.506 MB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.3848, allocations: 0.7009 MB / 0.775 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.3853, allocations: 350.6 kB / 0.7753 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.3856, allocations: 267 kB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.3862, allocations: 342.8 kB / 0.7759 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.3863, allocations: 36 kB / 0.7759 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.3868, allocations: 311.3 kB / 0.7762 GB, free: 10 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.387, allocations: 195.5 kB / 0.7764 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.3873, allocations: 250.7 kB / 0.7767 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007663/0.388, allocations: 0.7266 MB / 0.7774 GB, free: 8.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.388, allocations: 0 / 0.7774 GB, free: 8.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.388, allocations: 0 / 0.7774 GB, free: 8.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3881, allocations: 0 / 0.7774 GB, free: 8.836 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001346/0.3894, allocations: 0.8029 MB / 0.7782 GB, free: 7.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3895, allocations: 8.031 kB / 0.7782 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.3906, allocations: 152.1 kB / 0.7783 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.3911, allocations: 371.1 kB / 0.7787 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.3911, allocations: 33.38 kB / 0.7787 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.3912, allocations: 48.28 kB / 0.7787 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.3924, allocations: 0.8176 MB / 0.7795 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.3924, allocations: 8 kB / 0.7795 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/0.3925, allocations: 19.98 kB / 0.7796 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.3926, allocations: 68.55 kB / 0.7796 GB, free: 6.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.3943, allocations: 0.6307 MB / 0.7802 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.3995, allocations: 4.627 MB / 0.7848 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.4008, allocations: 497 kB / 0.7852 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/0.4015, allocations: 273.6 kB / 0.7855 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.4016, allocations: 7.922 kB / 0.7855 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.4016, allocations: 42.56 kB / 0.7855 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.4016, allocations: 0 / 0.7855 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.002462/0.4041, allocations: 0.8667 MB / 0.7864 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.4042, allocations: 81.3 kB / 0.7865 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.4047, allocations: 365.5 kB / 0.7868 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.4047, allocations: 33.64 kB / 0.7869 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.405, allocations: 291 kB / 0.7871 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.4051, allocations: 118.3 kB / 0.7872 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.4054, allocations: 118 kB / 0.7874 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4056, allocations: 350.7 kB / 0.7877 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006709/0.4063, allocations: 262.9 kB / 0.7879 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/0.4072, allocations: 478.5 kB / 0.7884 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.4087, allocations: 0.7372 MB / 0.7891 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4088, allocations: 4 kB / 0.7891 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001793/0.4106, allocations: 0.7681 MB / 0.7899 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4106, allocations: 8 kB / 0.7899 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4106, allocations: 8 kB / 0.7899 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.4107, allocations: 12 kB / 0.7899 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.4116, allocations: 159.7 kB / 0.79 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.4116, allocations: 15.98 kB / 0.7901 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.4121, allocations: 63.78 kB / 0.7901 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.4122, allocations: 28.03 kB / 0.7902 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004827/0.4127, allocations: 359.5 kB / 0.7905 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004721/0.4132, allocations: 434.1 kB / 0.7909 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008453/0.414, allocations: 0.6637 MB / 0.7916 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.414, allocations: 4 kB / 0.7916 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001059/0.4151, allocations: 0.6645 MB / 0.7922 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4151, allocations: 8.969 kB / 0.7922 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4151, allocations: 8 kB / 0.7922 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4152, allocations: 16 kB / 0.7922 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.4156, allocations: 147.7 kB / 0.7924 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4157, allocations: 15.94 kB / 0.7924 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.416, allocations: 51.8 kB / 0.7924 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.4161, allocations: 28 kB / 0.7925 GB, free: 8.293 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001476/0.4162, allocations: 221.1 kB / 0.7927 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.4163, allocations: 39.53 kB / 0.7927 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.4173, allocations: 0.5794 MB / 0.7933 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4173, allocations: 4 kB / 0.7933 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4173, allocations: 0 / 0.7933 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4173, allocations: 0 / 0.7933 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.4196, allocations: 1.605 MB / 0.7949 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4196, allocations: 7.938 kB / 0.7949 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.4202, allocations: 115.8 kB / 0.795 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4202, allocations: 4 kB / 0.795 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.4202, allocations: 16.41 kB / 0.795 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4202, allocations: 8 kB / 0.795 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4202, allocations: 7.938 kB / 0.795 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.4212, allocations: 0.7849 MB / 0.7958 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.4214, allocations: 164.4 kB / 0.7959 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.4214, allocations: 15.98 kB / 0.7959 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.4218, allocations: 43.94 kB / 0.796 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.4219, allocations: 39.84 kB / 0.796 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.4219, allocations: 12 kB / 0.796 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000225/0.4222, allocations: 255.2 kB / 0.7963 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4222, allocations: 0 / 0.7963 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007584/0.4229, allocations: 188 kB / 0.7965 GB, free: 4.016 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.00013/0.4231, allocations: 115.1 kB / 0.7966 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.4246, allocations: 0.9086 MB / 0.7975 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4246, allocations: 4 kB / 0.7975 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.4251, allocations: 278.1 kB / 0.7977 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.4258, allocations: 132.9 kB / 0.7979 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.4274, allocations: 0.9985 MB / 0.7988 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.4278, allocations: 0.8631 MB / 0.7997 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004832/0.4283, allocations: 204.1 kB / 0.7999 GB, free: 448 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4285, allocations: 43.42 kB / 0.7999 GB, free: 404 kB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4285, allocations: 0 / 0.7999 GB, free: 404 kB / 0.5606 GB Notification: Performance of Templates: time 0.009991/0.4385, allocations: 6.215 MB / 0.806 GB, free: 10.23 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)